Validation

Hi,

I was trying to put a form validation on click of a button i.e a!buttonWidgetSubmit but that interface is called by wrapper interface that implemented 'Choose' function to break down the interface into sections.

The validation works as expected for the first time, it appears after clicking on submit button but if I go back and forth in that form, and come back to interface where the validation is applied, the validation message is showing even though I havent click on the Submit button.

I tried creating a local Boolean variable and reset when submit button is clicked. In validation, I was checking for that variable to show the validation message but it is not working.Attaching sample code here.

Could you suggest anything that will work in this case.

OriginalPostID-237400


sampleCode.txt

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data