How to make a field in a form required when the prior field (a dropdown) has content entered

I have a table with 15 columns of various questions/topics (year, course number, instructor, etc) and 14 rows of input fields. A couple are dropdown menus, but the rest are just text fields. The client wants (most) of the fields to be required but the amount of rows used will be different for each user. So I'm trying to get each row of fields to only be required if the first field in each row (which is a dropdown) has a selection made (to avoid users from getting a required field error if they only enter say 3 rows of content of the 14 possible rows.) I'm assuming this will be a javascript if/then situation, but have been having trouble finding a similar example via google. thanks!

Hi,
You can make fields non-editable at runtime using this code:
field.access = "readOnly"
Hope this helps.
Amit

Similar Messages

  • Any idea how to make "To Do List" to alert me when the time is ripe for me

    to carry out certain task? alot of handphones can but not iphone???

    The iPhone lacks *any* native To Do list management. To use native functionality to do what you want, use the calendar. Or you can use the alarm clock if you don't need to sync it with your PC.
    There are a large number of ToDo list management applications in the App store. I don't know if the prohibition against these apps running in the background means they can't set alarms; you'll have to check the various applications and look for that functionality.

  • Formula that adds 1 to the prior field over and over again

    I have a form that requires me to input numbers into the form fields. There are over 700 numbers that need to be inputted into separate fields. The numbers are sequential so if I input “1” in the first field, is there a JavaScript that I can use for the other 699 fields that will add one to the prior field?

    Sure, but if the fields are named in a consistent manner, there's a very simple way of doing it using a loop.
    Let's say the fields are named Field1 to Field700. Field1 is the editable field, and the rest should be calculated.
    You can add this code as the custom validation code of Field1: 
     for (var i=2; i<=700; i++) {
    this.getField("Field"+i).value = event.value ? (1*event.value)+(i-1) : "";

  • Adobe pro 8: how to make an existing secure encrptyed form unfillable after editing

    Hello,
    as the discussion topic says.
    adobe pro 8: how to make an existing secure encrptyed form unfillable after editing?  Is it even possible to do in adobe pro 8?
    For work there's a secure and encrptyed form.  I want to write in the form and save it so it will be unfillable / uneditable.
    this form is not created by myself, and already secure and encrypted.
    I am aware that in other recent adobe pro versions on how to do this, since they have a " save as a copy" function in the file menu. (adobe 8 doesnt have)
    I've also tried printing as a PDF, but due to encryption of the form, that doesn't come out great.
    Upgrading to a recent version of adobe pro is not an option.
    I've also tried exporting as a picture files and then recombinding them to a pdf.  I dont like this method and find it time consuming.
    If possible please inform me of a way to solve this problem , step by step with adobe pro 8's features.
    or
    show me the equivalent method to how recent versions "save a copy" of a secure encrypted form on adobe pro 8.
    Thanks in advance for reading this thread and helping.

    Well after you use save a copy, and the security is disabled, you could then re enable security features and disable editing of the form.
    EDIT: I just tested , with a PDF is in secure mode, even using a "save a copy" feature wouldn't work.
    Would finding a program to desecure the pdf be a possible option?
    Or is there a way to copy the form (with all it's editable fields) and paste it as an unsecure pdf?
    You would then be able to make new security features.
    thanks for replying and viewing this problem.

  • How can I create a long employment form without making the form widget drag?

    How can I create a long employment form without making the form widget drag?

    Sorry Sachin, I mean that I created a simple form on the page from the widget and started adding fields to it. The more fields I add the slower the delay becomes in creating a new field. Even when I try to select and drag or move an item, there's a huge delay and sometimes the program feezes,  loose what i've done and have ot restart.
    I'm doing an enployment form that has more than 20 fields, at least, and I need to be able to build the fields in separate categories, like Education, Past Employment, etc... quickly without delay issues.
    I can probably send you a snap shot of what I'm talking about if I cna post it or attach it here..?
    ~Andy

  • Is there any ways to make Mail app show prefix and suffix in the address field?

    I apologize for any inconvenience that my poor English may cause.
    I would like to ask if there is a way to make Maill app show prefix and suffix in the address field.
    This is, in my culture, very important, especially for formal situations. When I call someone such as professors, bosses, I should put prefix after their names to show my respect. In Microsoft Outlook, there is a field called 'Display as'.
    http://www.slipstick.com/outlook/contacts/contact-address-book-options-settings/
    Therefore, I can choose how the name will be shown in my messages. For example, Prof. Kim instead of Kim. However, as far as I know, there isn't such options in Mail app. Is there any way that I can modify the way of displaying names in the address field in Mail app?

    As far as I can determine, that is only how you see the email address, not how it is sent.
    You can set up Prefixes and Suffixes in Contacts using the Add Field submenu of the Card menu:
    If you use the Edit Template... command, you can choose to always have the Prefix and Suffix show on new cards.
    However, I don't think Mail uses anything but First, Last for addressing emails.
    You can override the behavior by manually with:
    Prefix First Last Suffix <[email protected]>

  • How do i insert a drop down calender to insert the date field.

    How do i insert a drop down calender to insert the date field i my create a form

    Hi,
    You can use the date object FormsCentral provides. When you test the form in browser, the date field will show a pulldown calendar when clicked upon.
    Thanks,
    Wenlan

  • How to make a summary column appear only once (in the first page only) in SSRS 2008?

    Hello Everyone,
    How to make a summary column appear only once (in the first page only) in SSRS 2008?
    Regards
    Gautam S
    Regards

    Hi,
    Assuming you have test data like this ;
    select 'abc'as [GROUP],'NN' name , 1 id
    union all
    select 'abc' as [GROUP] ,'PP' name , 1 id
    union all
    select 'abc'as [GROUP],'RR' name , 2 id
    Step1  : take Tablix with row group as your group Name .
    Step2 : right Click on Row Group Details -> Delete-> Delete Group Only
    Step3 : In Count Cell use below expression ;
    =CountDistinct(Fields!id.Value)
    Follow this link;
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b6b45917-0a26-4d15-be46-2c6a2697d6e9/distinct-rows-sum?forum=sqlreportingservices#5ffdee06-c2c8-44ea-a3a5-b958488bb6b5
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • How do I extract email from a form and send the PDF to that user?

    How do I extract email from a form and send the PDF to that user?

    here you can add email to send to, CC, Subject, and body message
    var oDoc = event.target;
                        oDoc.mailDoc({
                                                                bUI: false,
                                                                cTo: "Agency Contact Email",
                                                                cCC: "",
                                                                cSubject: "Write your title here,
                                                                cMsg: "Dear" + AgencyContact + "(" + AgencyContactEmail + ")\nThe student, " + FirstName + " " + LastName + " has applied to work at your agency. Please confirm they can work here blah blah blah.......\n\nThanks.\n\nrespectuflly,\n\nme"

  • How to make google come up and not yahoo when i click anew tab

    how to make google come up and not yahoo when i click a new tab
    == This happened ==
    Every time Firefox opened
    == today

    You can use 1 of these add-ons
    [https://addons.mozilla.org/en-us/firefox/addon/newtaburl/?src=search
    NewTabURL ]
    [https://addons.mozilla.org/en-us/firefox/addon/new-tab-homepage/?src=search New Tab Homepage]
    with NewTabUrl you have more options
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • How to make a select list editable or searchable like the combobox

    Does anybody know, How to make a select list editable or searchable like the combobox? Do we need a plugin here, where I can get it.

    Hi Nilesh,
    If this is what you are looking for http://apex.oracle.com/pls/apex/f?p=32395:3:1202144397644679
    get the combobox plug-in
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/searchable-combobox.html
    I have not tried this though. Found it while searching for some other plug-ins.
    Regards,
    -Senthil

  • I can not use the tab key to move to the next field or use the shift and tab to move to the prior field in forms.

    After updating to 7.0.1 I can not always use the tab key to move to the next field or use the shift and tab to move to the prior field in forms. This always worked in previous versions and it's much needed for my type of work. Does anyone know of a setting to activate this? If not can the Firefox developers work on this issue (please). I love Firefox but desperately need this feature to work correctly. Thanks!

    I tried in safe mode and the tab key worked just fine. I'm not sure about all web forms I've only recently updated to 7.0. The wen form I was using was for appraisal purposes and it has multiple data fields to fill in and also drop down menus to select from. Might I always have to use Firefox in safe mode to be able to utilize the tab between field feature? Thanks for your help!

  • How to pass value from new pop up window to the input field

    Hi,
    i have a F4 help on a input type field and adjacent to that two more input fields, on clicking the help on the first input field a new pop up window opens, the value in this pop up window is to be selected to give the value in that field and the other two values should be appeared in the input type. suppose the pop up window has three fields "15   LIMA  PLANT   45802 ", so on clicking it in input field only 15 should go to the firstinput fields and "LIMA PLANT" and "45802" should go to new window
    do anyone know this?

    avoid duplicate threads
    F4 help in dropdownlistbox and values in input fields
    if you feel that the thread heading or content is not what you wanted, you can edit it and leave a note in the same thread that you have edited it.
    Raja

  • Text field with promp msg only when the field is empty

    I want to make a TextField with prompt message but The problem with google code was that the prompt msg is shown only when The textField is not clicked, I want to show the prompt msg even when the text field is clicked,when I type a letter inside the textField it vanishes and when i delete all of it, I'll see the prompt msg again and I want to Load the cursur at the text field when the page is loaded, How can I achieve that?

    Not working!
    One new problem I have confronted, I have edited the htm file with the previously mentioned code, yet, when i started flex again, the code was not there?
    Is it a derived file?
    If so how can I make permanent changes there?
    i used the code:     
    private function onLoad(event:Event):void
                 focusManager.setFocus(this.textId);           
    As using
    private function onLoad(event:Event):void
    shows the red cross i.e. error at a particular step at the
    <mx:Application.......
    and the error shows as
    Incorrect numbers of arguments. Expected 1.
    I guess its a very simple problem yet I don't know why I am getting so complex.
    I have faced certainly a nice problem, it sometimes works and sometimes doesnt,
    when I run from the flex bulider it works, If I click on the html file it doesn't.. It may happen it wont work again in future.

  • I don't know of there is anyone than can fix this age old Apple problem.   Does anyone know how to retrieve things under an old Apple ID when the email used for that account no longer exists? I am trying to update a number of apps that was bought under an

    I don't know of there is anyone than can fix this age old Apple problem.   Does anyone know how to retrieve apps under an old Apple ID when the email used for that account no longer exists &amp; I can't remember the password? After speaking with Apple Acct. Security, I got the security Q right but my birthday was wrong! They wanted the serial number from my phone that was 3 iPhones ago! Seriously??!!
    Any updated way to work around this? No Apple people can correct it.
    Thanks,
    Joe

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (122986)

Maybe you are looking for

  • How to run jsp file in Apache Tomcat 5.0?

    hi, i'm using jdk1.5,jsp1.2 & Apache Tomcat 5.0 as a web server.in my application i have 2 jsp files,1 html file & 1 javabean class.where i must place the html,jsp files and the .java file & .class file for a bean class.how to run this application. b

  • Sales Order Header Data. Texts

    Hy All Experts. I wnt to put Filed Sales Order Header data. i go to transaction va02. ->> disp Doc. header Deatils. select Tab Texts. --> Notes . I wnt to put a notes in a sales order report. so hw to identify. that field. Please guide me above matte

  • A line on my screen

    There is a black line on the scree of my ipod when the backlight is on. When the backlight is off the line is not present. I have tried to reset it and restore it to it's original settings but I have failed in removing the line. Should I send it in t

  • Continously data collection and events

    Hi Folks, I need a suggestion about how to get DATA continously and trigger another events simultaneously . Here is my vi snippet with continously monitoring the motor value and direction but wanna trigger and change it movement in rel and abs. I als

  • There is an error in XML document (1, 3616).

    Hi all, i got the following error when i m trying to update item master using B1WS. There is an error in XML document (1, 3616). any solution it's very urgent Thanks & Regards B.Lakshmi narayanan