Hi All..
Is it possible to condinionally enable or disable the save button..
if not, then is it possible to alter the post of the save button, my problem is that in my netwebform I don't have fields, I have buttons that alter some fields..
So for instance I have four options on a screen and I have to select 2 of them, remebering that the only way to change those options are with buttons that I have onscreen.
when I press the save button then in the record validation I count how many options there are and I have to set alert and invalid fields to the approprite record, however there really is no approprite record to set the invalid record so, I just select the top most one.
anyway once I have alerted the subject he then presses the the button to select or deselect my fields. however since my alert is still active then I get the same window, againa and again telling me to select two options..
I think the reason is that the post has a "pressedButton=save_btn" at the end of it, so it seem to have the save button pressed again and again even though I have to pressed it again but an option on the screen..
I think What I'm asking, is if there is a way to clear the alert and invalid fields so that the form no longer takes then in cosideration when I press any of my buttons. I have set alert='' and invalid='' but it still insist on present the error. Or how do I take out the "pressedButton=save_btn" off of the post after it has come back with an error.
If I remember right 4.29 and previous did not have this kind of pressed button insistance, and now it does.. athough I may not recall correctly.
Best Regards...
Roberto Renz