Make the field of form required only if the criteria

I have a form in Acrobat 9 Pro which has a yes / no radio button and then a "If Yes, please give details below...". "on the ground. Is it possible to do the "If Yes...' required field, but only if the user selected Yes in the previous questions?" Should it be not required if they have selected No.

It's just well beyond my level of knowledge so if someone has any ideas?

See you soon!

You can use the script although I am

not sure how to write.

But Radio buttons (which also can be formatted to look like a box an option button is always given to use default value.

If you have one and two touch a yes no if one is on the other is off and the other direction as well.  How wever both receive a value of Yes.

so no matter what you press because its value is Yes your hidden field appears. You need to do the no no, what is hidden value field will only appear on the Yes value. for job like that.  should no the names of the fields related to the same thing when it is similar to all the same name will be deposited as well.

Tags: Acrobat

Similar Questions

  • JavaScript to make the fields to fill in the form read-only?

    How the fields to fill out my form read-only? I created the form, send to clients. Clients fill out the fields and click the submit button. The submit button pulls an automatically generated email and send the pdf file. I want the pdf file to send with the fields read-only. How then?

    This code should do the trick:

    for (var i=0; i		   
  • Make the form read-only if a field is filled

    Is there a way to do an entire form read-only if a certain text field is filled?  I know that adding a digital signature to a form field, increases the size of the screen, so I prefer not to add a digital signature field in my form.  However, I would like the feature that says after the form is signed, it is read-only.  I have added a text box to the form and tried to add a script that read: if (this.rawValue! = "") (this.access = "readOnly"), but it did not work.  Is there a way I can accomplish this without adding a signature to the form field?

    Hello

    It depends on where you have placed the script, probably the best place is the exit event.

    if (this.rawValue != null || this.rawValue != "")
    {
         this.access = "readOnly";
    }
    else
    {
         this.access = "open";
    }
    

    It blocks only the field that the script is inside.

    You should check the example of Paul LockAllFields, which contains a function in a script object. Whereas Paul calls it a click to a button event, you could call it the output of the particular text field event.

    Re: Save form non-fillable PDF

    Hope that helps,

    Niall

    Ensure the dynamics

  • Selection of the language makes the required password field

    Hello

    I use jDeveloper 12.1.2

    I have a login page with name, password selection and the language of the user (component SelectOneChoice - soc1). I have a value change listener in the field of languages selectonechoice which will set the locale to the newly selected language. I put partial triggers on the name field and the password of the user for soc1. It comes to make the labels the user name and password appear in the selected language. This makes the password field if necessary even if there is value in the field. I also noticed that this occurs only when the language is other than English.

    My lines jsff for the user name, password, and language are-

    "< af:inputText label =" #{loginBean.usernameLabel} "id ="it1"value =" #{loginBean.username} "required ="true ".

    showRequired = "true" autoComplete = "off" partialTriggers = "soc1.

    / >

    "< af:inputText label =" #{loginBean.passwordLabel} "id ="it2"value =" #{loginBean.password} "required ="true ".

    secret = "true" showRequired = "true" autoComplete = "off" partialTriggers = "soc1.

    / >

    < af:selectOneChoice label = 'language '.

    "value =" #{loginBean.Language} "id ="soc1"binding =" #{loginBean.soc1} "autoSubmit = 'true '.

    valueChangeListener = "#{loginBean.localeChangeListener} '"

    >

    < af:selectItem label = 'English' value = "" id = "si1" binding = "#{loginBean.si1}" / >

    < af:selectItem label = 'French' value = 'fr' id = "si2" binding = "#{loginBean.si2}" / >

    < / af:selectOneChoice >

    The value change listener code is-

    Private Sub changeLocale (language: String) {}

    This.setLanguage (Language);

    Locale newLocale = new local (language);

    FacesContext context = FacesContext.getCurrentInstance ();

    context.getViewRoot () .setLocale (newLocale);

    }

    {} public void localeChangeListener (ValueChangeEvent vce)

    changeLocale (vce.getNewValue m:System.NET.SocketAddress.ToString (()))

    }

    I have the tag f: view with the locale defined as local = "#{loginBean.locale}". "

    Whenever I change the language other than English, the password field is back with the error required, even if there is value in the field. He can't if I choose the language than English. can anyone shed light on what I'm doing wrong here.

    Thank you

    UMA

    Hello

    I think you are missing immediate = "true" in the selectOneChoice.

    If this does not work, check this post; ADF and JHeadstart: skip validation on selectOneChoice selection

    Kind regards

    Ruben.

  • How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    Hello Jmbtexas4,

    By default, you will need to individually click on the fields of the form and check the 'read only' and save it. From now on, it is not possible to select all together and make the changes.

    -Usman

  • How to make the fields from the drop-down list required to make a selection before you save a PDF file

    I have a PDF form where I entered a JAVA script in some areas by using the option ON BLUR under 'Actions' and it works very well to prevent users to go to another site if they leave the field with the empty JAVA Script in place.

    My question is that I have other form fields that have a drop down menu where they can choose several options. I would also like to make these fields to where they can't move forward on the form unless they choose an option in the list. However, because with the option in the list "choose a ' is a default option entered into the field (field is not empty), script JAVA of BLUR ON option I used in my empty fields does not work to block the user to move beyond the matter without selecting an option. They are able to save the form with all the drop down menus staying to 'pick '.

    I made the field "Required fields" then they are highlighted with the red area around, but is there another tool to force them to choose an option for each in the drop down menus before you save the form, instead of being able to save with leaving the 'choose One' in the field by default?

    The best way to do this without knowing the default value of the field is to compare the value of the field to the default value of the field... You must make sure that your default value is not part of the possible acceptable answer. It works with most of the field types that a user can fill.

    If (event.value! = event.defaultValue) {}

    do something;

    App.Alert ("required field not completed. \nField name: "+ event.target.name, 1, 0);

    }

  • How to make the field as a table display only?

    A form on a table, I can do the display as field: "view only".

    In a tabular presentation, it doesn't seem to be the option "View only" view. In tabular form attributes, I set a default value, and I have no users to edit this field. So, how can we make the field only do "display"?

    V4.1

    You can change the definition of the column and change the Display as in "Display text (saved state)" attribute whose value will be the column will be saved with the other columns and the default way.

    Thank you
    -Jorge

  • How to make the field read udf only in IOM 10 g

    Hello

    Can we read only in IOM 10 g field of the udf. I couldn't see an option during the creation of the UDF. We can customize the formmeta to make the udf read-only?

    Thank you

    update in FormMetaData.xml

    find the formula 3 default for the form of the USR

    update below
    Editable = false

    Published by: Zaba Nayan on 8 February 2012 23:32

  • Support for the creation of form field which allow you only to multiple of 6 to affix

    I am working on a form and my boss asked me to see if I can make the fields only accept several

    6 s (as it is a purchase order of the product, and they come in packs of 6).  I think I'll have to use javascript for this

    but I'm not yet familiar with the writing of these.  a friend mentioned something about 'validate' and which confused me even more.  I read a 5 inch

    book on the use of pdf forms, but thought I might be able to get a faster answer here with you all of the wonderful people and then to refine my search in my book to learn about more by what answers I get here.

    I REALLY APPRECIATE ANY HELP!

    I hope you all had a wonderful Turkey day!

    Thanks in advance!

    Your friend was right, you need a validation script. The way to do is to use the modus operator (%) and then look at the result of the entered number 6 mod. If this is not 0, then the number you entered is not a multiple of 6. Try this script validation of a text field is defined as a number:

    If (' event.value! = null & event.value! = "") {}
    If ((Number(event.value)%6)!=0) {})
    App.Alert ("you must enter a multiple of 6.");
    Event.RC = false;
    }
    }

  • Make the field required using the Validation

    Hello

    I use R17 and want to make a field required by the adding validation [< field >] IS NOT NULL

    Strangely, this does not work on a new Record. a NULL value is always accepted. It only works for a modified record.

    has anyone in front of it too? or is this a BUG in my environment.

    Any ideas?

    Just to check if it works, I tried a [< field >] validation IS NULL and it worked correctly on New and updated records.

    Thank you
    Royston

    Hello

    There is a solution to achieve this. PL download the configuration steps of the below mentioned link.

    http://DL.dropbox.com/u/3971519/make%20A%20Field%20Required%20Using%20Advanced%20Field%20Management.doc

    Let me know if you have any questions.

    Rgds,
    Amit samir

  • How can I make a field on a form always take into account what is entered in a field somewhere earlier on the form

    How can I make a field on a form always take into account what is entered in a field somewhere earlier on the form. Basically an auto-fill of the same info

    Assign eponymous for the fields of the form.

  • Strange behavior of validation with the fields 'user entered - required '.

    I have a situation where I have a form with several 'user entered - required"text fields  Some required fields are pre-populated by a server process before being presented to a user in the workspace.  When the user fills the remaining fields and submits the form (by clicking the button "Done" in the workspace), the of standard validation 'required' message, even if all required fields contain data.

    The shape where I discovered this problem is moderately complex, so I built a form simple and process to try to understand what is happening.  The simple form contains exactly two text fields, both are user entered - required.  A field is filled by a server process when the task of the associated workspace is called, B field must be filled in by the user.  There is no script customized beyond the bridge of form and a Submit button.  It's about as simple as it gets.

    If the field is filled, and then the user fills B field and click on 'Finish', the message appears saying 'at least one required field is empty... "even if the two fields contain data.

    If I return to the form and remove the B field (and redeploy the form and remember the process), to field is pre-filled and the user clicks on 'Finish', no message is displayed and the form is sent.

    As far as I know, the built-in for required fields validation works correctly only if all fields are pre-filled or none of them are pre-filled.

    Can someone explain what is happening?

    EDIT: I forgot to mention, I also created and configured an extract of the data for the simple form.  The data preview only contains a value for the to field.  When displayed in the preview of the Designer tab, everything works as expected.

    After a little work I have a better understanding of what is happening and a solution.  I have scripted several calls to xfa.host.messageBox (...) on different events.  It turns out that the pre-filled fields are not the culprit - they have values as expected.  The problem is with the non-pre-filled fields, and and a subtle behavior of the event model that causes a problem when using the workspace INTERFACE (at least on SS3).  Field values may not be resolved until a field loses focus (for example when a user moves to another field, or click a button).  Form used outside of the workspace, by clicking a "submit" button causes the focus to move to the button, which causes the values to be bound to the fields.

    Solution: Use an indirect Submit on the form button and submit indirect click handler used (in addition to your normal code):

    xfa.host.setFocus(null);
    xfa.resolveNode("[[fully qualified name of the real submit button]]").execEvent("click");
    

    Working space should detect and then make an Indirect button and run the associated click Manager, claiming in turn the form submit true button.

    This is where begins the next bit of fun: there is a bug in the form bridge (at least in the ES3 version) code prevents him from indirect detection submit buttons when you use JavaScript as a language Manager click of the button and

    Here is my hack to solve this issue:

    1. Open the 'ContainerFoundation_JS' script in the Script of Designer Editor
    2. Ignore the warning at the top of the file
    3. Find the named function: isIndirectSubmitEvent (it's on the line 1512 or something)
    4. Change the line that reads:
      • if (script.indexOf(button.name + ".execEvent") != -1) {
        

        TO:

        if (script.indexOf(button.name + ".execEvent") != -1 || script.indexOf(button.name + "\").execEvent") != -1) {
        
    5. Save and deploy the form

    If there is a better way to achieve this, please share.

  • make a field required optional

    I wanted to do the last name field that is one required field to another option. Could someone help me on this.

    Thanks in advance

    Hello

    Edit FormMetaData.xml and make the optional field. I don't know if the change only formMetadata.xml will give error. If yes then change the tjspGenerateCreateUserForm.jsp.There is already a lot of changes to JSPS.

    Below the message can be helpful.let me know if you have any questions.

    IOM form customization

    Concerning
    Nitesh

  • Required fields on forms

    Currently, we build all of our forms in HTML and uplaod in Eloqua... This does not allow us to... "required" fields to order the to Eloqua, you need to create your form in the Eloqua model.  someone has found a simple way around this... an ability to make the required fields in the form?

    Paul, the jQuery validation plugin (one of the many available) makes it very easy to add validation in your forms client-side and will also keep your code much cleaner & easy to manage than the cut and paste options, especially if you need to change the form or add new fields to a later date, etc.

    Take a look below:

    http://docs.jQuery.com/plugins/validation

    http://Speckyboy.com/2010/06/22/50-jQuery-Plugins-for-form-functionality-validation-security-and-customisation/

    If you need a helping hand with this, feel free to drop me a line

    See you soon

    Chris

  • How to make the selection of the field to calculate the properties of the tab active

    I try to make a purchase order that will calculate the values of fields, but I can only select all form fields or not.  I got the trial AcrobatPro and it worked fine, but now I bought it, it does not work for me.

    Can someone please.

    Capture.JPG

    Some people feel that for some reason any. You can try to use the SPACEBAR to toggle the checkbox and the tab key to move. You can apparently also use the mouse, but you will need to click anywhere near the border in checkboxes, so try to experiment a bit.

Maybe you are looking for

  • It cannot display the task - Virus bar/Manager?

    HelloThanks to toshiba for giving me the opportunity to speak with computernautes.Here's my question: I am running microsoft windows xp home edition with service PAC 2. until recently, I could access the Manager of tasks by the various today methods.

  • How to turn off the wake-up upward after hibernation when I open the lid?

    I've set up the power button to hibernate your laptop. After pressing the button and wait some time to complete the process of hibernation, I close the lid.But when I opened the lid to examine, for example, battery charge indicator, laptop wakes up.

  • Disable hyperlinks

    Hello, I have not been able to find how to remove a hyperlink from a string of text by using inspector or Ctrl-click.  I read the thread on the hyperlink Inspector button, but I can't find one.  Thanks for the help!

  • App not on the BlackBerry menu

    Hi guys! I tried to import my application under test for other brands in the BlackBerry JDE for the eclipse, but it does not appear on the menu of the phone after the installation. File / new / other / BlackBerry / BlackBerryProject > MyProyectName C

  • I'm looking for a tutorial on iOS Apps Mobile

    I'm looking for a tutorial step by step on the construction of a Mobile iOS/Android Application.I am posting this in the Flash Forum, but I'm not even sure it's there first. Dreamweaver?In any case, I need to create a mobile application 'simple '. I