I'm not getting any errors at all, my form is fine. My data doesn't need validated, I have validation in place.... Did I mention validation in my post?
At least this is what I think is the best way to stop that radio button from sending any data, and it cannot send data. I do not control the data processing sever side so I must control what gets sent. I have done searches and read that disabling is the one of the ways to make form fields not send data. The other way I cannot use because both radio buttons and the one input field all belong to the same group and must have the same name.
Well I believe what we have here, in the words of Strother Martin in "Cool Hand Luck", is a "failure to communicate"! :eek:
You can test the input field as I suggested and you can disable the radio buttons when something in the text field is entered,
BUT you also want to call both the radio buttons and the text entry by the same name.
When you disable the group name, I believe you will disable ALL in the group from being sent!
You will either need
a) to call the radio buttons by one group name and the text entry a different or,
b) to create an "installments" hidden variable that will be sent to your form with the information combined from the radio button and/or text entry and disable ALL in the re-named radio button 'installments' group before submission. That way you only send exactly what you want.
Another possibility would be to use a checkbox instead of a radio button.
Use a default value of '99' if not checked and the text value of # of payments if it is checked.
No need for other or more radio buttons unless you have other radio button possibilities you have yet to mention.