2 Replies Latest reply on Jul 23, 2008 5:35 AM by (Xiou)

    Radio Button field required.


      I am new using Adobe PDF professional. How can I check whether one radio button from 2 radio button has been checked bedofe submit the form. Any help will be appreciated.

      Thank u!

        • 1. Re: Radio Button field required.
          George_Johnson MVP & Adobe Community Professional
          You can use JavaScript to get the value of the check box field, and go ahead with the submit only if it has the correct value. Something like:

          // Get valie of radio button field
          var v1 = getField("radio1").value;

          if (v1 != "Off") {
          submitForm("your_url", etc...);
          } else {
          app.alert("Please select an option...");

          • 2. Re: Radio Button field required.
            Hi George,

            Thank you for the your help. If I have 3 different button with different field with different values what I do to in order to make the field required and if the field required been checked we can click the print form button to print.

            Thank you