Expand my Community achievements bar.

flowable layout mandotory fields validation

Avatar

Level 2

Hi i have following structure

Page1

subformparent - flowed layout

subformchild - position layout

textfield1

and a button called "add row". when i click on "add row" button textfield1 will be duplicate in flowed environment . lets say textfield1 is mandatory to filled. For example if we add three rows then all the three textfields are mandatory. Is this can do ? please tell me steps.

3 Replies

Avatar

Level 2

Unless you're trying to do something special with validations, have you tried just making textfield1 "User entered - Required" under the Object>Value menu? Each new instance will make the textfield required.

Avatar

Level 2

I haven't add "User entered - Required" into it but my requirement is that i need to throw a custom error when user does not fill any values into the dynamically added fields. Same message for all textfield1 can be apply. furthermore i have read some of the articles about this issue they have mention that resolvenode can be an answer. but I dont know how to add into my code? please advice

Avatar

Level 2

Hi I have added "User entered - Required" option but I have a "Validate" button to check the field. Is it doable?