You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
toggleFields only works on 1st Step, also there is no way of removingRules, you can addRules but not remove, also it doesn't work with hide, show div element. Once you hide div element validation is still asking for fields to be filled in but you don't see them, also when you have multiple hidden divs and you open them one after the other all the validation adds up.
Basically when you trying to toggle fields first, fields are not displayed but validation is still displayed, then upon drop down selection I am using toggle again and then showing required fields but validation still there for all the hidden fields. When I remove 1st toggleFields and all the fields are displayed validation showing all to be validated then when I use select drop down and select value only required fields and validation appearing which is perfect. but why do i have to show allt eh fields first and then eliminate???
toggleFields only works on 1st Step, also there is no way of removingRules, you can addRules but not remove, also it doesn't work with hide, show div element. Once you hide div element validation is still asking for fields to be filled in but you don't see them, also when you have multiple hidden divs and you open them one after the other all the validation adds up.
$('form').idealforms('toggleFields', 'emaple_field');
The text was updated successfully, but these errors were encountered: