I am trying to use ASP and javascript.
through an admin area the user will be able to set what fields need to be displayed for a membership joinup form.
If the fields are set to 'y' then that particular field will be displayed. The issue is how do i dynamically validate that field with javascript ?
At the moment i can display the textfields, though the issue arises from the javascript validate function that occurs on form submission. I have validation occuring for all the textfields, and the problem is that as some of these arent neccessarily in the form , i want the validation to only be applicable if that textfield is active.
hope you can help.
m.
through an admin area the user will be able to set what fields need to be displayed for a membership joinup form.
If the fields are set to 'y' then that particular field will be displayed. The issue is how do i dynamically validate that field with javascript ?
At the moment i can display the textfields, though the issue arises from the javascript validate function that occurs on form submission. I have validation occuring for all the textfields, and the problem is that as some of these arent neccessarily in the form , i want the validation to only be applicable if that textfield is active.
hope you can help.
m.