I have multiple fields on Advance form tab step
Dropdown1 ( values 1 , 2, 3) , Textbox1 , TextBox2, Textbox3
Scenario
Dropdown1 is required field
DD1 is set to blank initially
when DD1 has value 1 then textbox1 and Textbox2 also become required and need value
when DD1 has value 2 then textbox3 becomes required and other two text can be blank
when DD1 has value 3 then no textbox needs to have value
I referred to this msdn kb
added below on js section of advance form step
What i did was i added four section for create new validator
DD1=AT1Validator , TB1=AT2Validator , TB2==AT1Validator, TB3.
Then added a validation group But it does not works correctly so when on page DD1 does not have value it shows error in validation summary for all three but ideally on step load DD1 is blank so TB1, TB2 can not be mandatory. Can someone correct what i am doing wrong with setting the validation configuration "validation group , evaluationfunction " and where to execute the return statement.