Using ValidatorEnable() with Custom Forms not working

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
5/8/2012 9:01:52 AM
Gravatar
Total Posts 40

Using ValidatorEnable() with Custom Forms not working

I'm working on a custom that uses ValidatorEnable(val,enable) as a way to avoid multiple postbacks for a number of checkboxes to accomplish the enable/disable  & show/hide that either make a div visible or not and some that enable textboxes and validation when checked and disable it when not checked. I'm also using ClientIDMode="Static" on both the form controls and validators in an attempt to keep the id's of the controls simple.

At present I'm including the jQuery used to do all of this directly in the page at the bottom of the main content pane for the initial testing and plan to move it out to a file once I have the kinks worked out. I'm getting a RequiredFieldValidatorId undefined error and I'm not sure if it has to do with the fact that the page uses a masterpage or not.

Is there a better way to accomplish this without having to use ValidatorEnable()

You must sign in to post in the forums. This thread is closed to new posts.