Login Register

form xhr

remove form element from being submitted by xhr

Hi,

How can I stop a form element being submitted when I submit the form using xhr (using form: "myform")?
Disabling the element doesn't do what i'm after.

Do you remove the node? Any advice would be helpful.

My scenario is : I have a radiobutton with a TextBox and another radiobutton with a Textarea. I want to stop the form submitting either the TextBox or textarea depending on the radiobutton selection.

thanks,
Stu

Syndicate content