Re: Forms created in a loop - problem with validation

2015-07-24 Thread Geoff Callender
These examples might help... If you’re not using AJAX then it probably makes more sense to put the Form around the Loop: T5.4: http://jumpstart.doublenegative.com.au/jumpstart7/examples/tables/editableloop1

Forms created in a loop - problem with validation

2015-07-24 Thread Matthias Bieber
Hello,   I have a loop that creates a few forms and I have implemented the onValidate method to validate the input. If an error occours in the textarea of the first form, the textareas of all other forms are marked as erroneous too, although the forms and textareas have different IDs. Whats

Re: Forms created in a loop - problem with validation

2015-07-24 Thread Lance Java
I think this is caused by the field being reused in the loop. You might need to recordError with a FieldSnapshot. Example here http://t5stitch-lazan.rhcloud.com/mapbindingdemo