How to make text box required field if checkbox is checked??

I have a web form that I need to look something like this:
(Checkbox) Check here if it is for an individual  ID: (textbox) Required field if checkbox is checked and a numeric value
(Checkbox) Check here if it is for an organization ID: (textbox) Required field if checkbox is checked and a numeric value
(Checkbox) Check here if is neither (textbox is hidden and not required if "neither" is checked)
Currently the form looks like this: http://ncsu.edu/advancement-services/resources/researchrequest.html.  The above information is going to go where it says prospect name and id number on the form.  I would like to have the three checkboxes in a menu instead if that is possible.
How do I make the form do this?  I created the form in the above link but I don't can't figure this one out.
Thanks so much in advance!!
Erika Roe

Sharmila,
My form is based on Master/Detail Table....I have chosen defalt layout ...Not a Custom form.
In this case,could you suggest me what I should do ?..The customer is very much insisting on that..
Thanks in Anticipation
Babu

Similar Messages

  • How to make Buyer and Planner fields in Master Items Form Required without

    How to make Buyer and Planner fields in Master Items Form Required without using personalization?
    1) Steps to Reproduce
    Under Application Developer Common Modules responsibility,
    1) Query Region MTL_SYSTEM_ITEMS
    2) Click on Region Items
    3) Add Buyer Id and Planner Code attributes with Required checkbox checked.
    4) Bounce iAS server and JVM and clear java cache
    5) Changes not taking effect
    Current Application Release: 11.5.10.2 (3460000)
    Current INV Rollup: INV.J RUP22 (9878808)
    Current WMS Rollup: WMS RUP19 (9951502)
    Product Installation List :
    Product Installation: 11i.BOM.J: Installed
    Product Installation: 11i.EGO.E: Installed
    Product Installation: 11i.ENG.I: Installed
    Product Installation: 11i.INV.J: Installed
    Product Installation: 11i.PO.I: Installed
    Product Installation: 11i.WMS.G: Installed
    client needs to make the Buyer and Planner fields under Inventory->master Items form to be required.
    He tried using the Application Developer Common Modules responsibility, to find the Master Items Region and added the Buyer Id and Planner Code attributes with the Required check-box set to Yes. He bounced the iAS server and cleared java cache, but the changes do not take effect.
    client does not want to use form personalization.
    Can you please provide more assistance for using Application Developer Common Modules responsibility?
    Edited by: jemar98 on Aug 9, 2011 1:44 PM

    A forms developer could make those fields required with a CUSTOM.pll extension if you didn't want to use forms personalization. Both are considered customizations to standard functionality and may or may not require rework after patching or upgrades.

  • How to make text start at the top of a page in livecycle 9

    Hi, How can I get the text in a large text field to start at the top left of the field rather than at the center of the field? In addition, may one know how to make text wrap in the form as well?
    Thanks,
    David

    To set the Text alignment properties use "Paragraph" pallet you can make it visible by selecting Window>>Paragraph or Shift+F5
    And to allow text wrapping you need to select "Allow Multiple Lines" checkbox under "Object" pallet and "Field" tab. You can make Object pallet visible by selecting Window>>Object or Shift+F7.
    Good Luck,

  • HELP! How do I enforce a required field

    All
    I do hope someone can help me with this!!!
    I have a pdf where I require the person before submitting to check a check box to confirm they understand a key statement. the checkbox is called Confirm.
    I have seen some javascript here http://forums.adobe.com/thread/784322 which uses on blur - but the assumption is that the user has tabbed into the field concerned... what if they skip over it?
    So... I decided to put some Javascript into the submit button...
    the submit button currently has 3 Actions on mouse up
    first it runs the following javascript
    if (Confirmed.value.length == 0)
        {app.alert("The confirmation box must be checked. Please confirm.")
    then it performs  file>save as>pdf
    then it performs submit a form and emails the pdf
    My question is - Why if you have denoted a field as required does adobe allow you to save and email a form where these fields have not been completed??? surely this is a huge bug??
    ok... but the logic I put in with the first javascript does not get triggered, can anyone explain why not? .... more importantly... can anyone help me with some code which achieves this desired effect -
    when the form is submitted, I need to check if the checkbox has been checked and if not display the above alert AND exit out of the rest of the submit actions.
    thanks
    george

A: HELP! How do I enforce a required field

It is not at all a huge bug. Some thoughts:
1. Your script isn't working because it's not correct. If you want to check the state of a check box and do something based its state, the code could be something like:
// Get the value of the check box with the field name "Confirmed"
var v = getField("Confirmed").value;
// The field value with either be the string "Off" (if not selected) or the export value (if selected)
if (v !== "Off") {
    // Proceed with the submit here
    submitForm({cURL: "[email protected]", cSubmitAs: "PDF"});
} else {
    // Check box not selected. so alert the user
    app.alert("You must select the \'Confirmed\' check box before you can submit this form.", 3);
2. Even if a check box is set as required, it won't prevent the submit form action or JavaScript from submitting. This is because the field always has a value. This is different for a radio button group. If none in a radio button group that is makred as required is selected, then the submit won't be allowed to take place until one is. This is just how it works, so you have to use a script instead as shown above.
3. Can you explain why you want to save the form before it is submitted? It is automatically done when the entire PDF is submitted, so there normally wouldn't be a need to do this.
4. Use just a single JavaScript action. If you use multimple actions, the are independent from one another, so one can't prevent a subsequent one from being triggered.

It is not at all a huge bug. Some thoughts:
1. Your script isn't working because it's not correct. If you want to check the state of a check box and do something based its state, the code could be something like:
// Get the value of the check box with the field name "Confirmed"
var v = getField("Confirmed").value;
// The field value with either be the string "Off" (if not selected) or the export value (if selected)
if (v !== "Off") {
    // Proceed with the submit here
    submitForm({cURL: "[email protected]", cSubmitAs: "PDF"});
} else {
    // Check box not selected. so alert the user
    app.alert("You must select the \'Confirmed\' check box before you can submit this form.", 3);
2. Even if a check box is set as required, it won't prevent the submit form action or JavaScript from submitting. This is because the field always has a value. This is different for a radio button group. If none in a radio button group that is makred as required is selected, then the submit won't be allowed to take place until one is. This is just how it works, so you have to use a script instead as shown above.
3. Can you explain why you want to save the form before it is submitted? It is automatically done when the entire PDF is submitted, so there normally wouldn't be a need to do this.
4. Use just a single JavaScript action. If you use multimple actions, the are independent from one another, so one can't prevent a subsequent one from being triggered.

  • How to make a list item field with DATE data type?

    I have a column with DATE data type. Using forms 6i I want to generate a poplist list item field with this column while the value of the elements in the list to will be day names like SATURDAY,SUNDAY,MONDAY. if we change the data type from date to char, it will work properly but now with DATE data type behind it, it gives the following error message
    "FRM-32082: Invalid value for given item type.
    List WEEKREST
    Item: WEEKREST
    Block: EMPRESTS
    Form: MODULE3
    FRM-30085: Unable to adjust form for output."
    Using forms 6i how to make a list item field with DATE data type which can hold day names?

    Set your date column as a hidden (non-displayed) field. Create your list item with the varchar2 day names. Create the list item as a non-base-table field that accepts the text values of day names. On that field, create a when-validate-item trigger that translates the text into a real date, which it then uses to set the value of the actual base-table item.

  • How to make the Profit Center Field Mandatory in Cost center Master Data

    Dear All,
    Please let me know how to make the Profit Center Field mandatory in Cost Center Master Data as well as my Internal Order Master Data?
    Thanks in advance!
    Regards,
    Rajeswari Shankar.

    Hi Rajeswari,
    You can modify message number KS096 to "Error" via OBA5. Thus, the users would no be able to save a cost center without entering a profit center. (Depending on your release you can make KS096 modifiable by implementing note 486781.) 
    Concerning the internal orders (transaction KO01), you can run KOT2 and set Profit center field as required entry in "change field selection" section.
    Regards,
    Greta

  • How to make text columns with adobe muse

    Hi,How to make text columns with adobe muse (like InDesign)?

    Multiple columns can be acheived with CSS - http://www.w3schools.com/css/css3_multiple_columns.asp
    div
    -moz-column-count:3; /* Firefox */
    -webkit-column-count:3; /* Safari and Chrome */
    column-count:3;
    I'm surprised that Muse does not support text columns yet, but perhaps the custom CSS can be added in style tags on page properties. Haven't tried it, but don't see why it wouldn't work.

  • How to make text/objects move nonlinear speed on AE CC?

    Hi,
    I was wondering two questions:
    1) how to make "text holders" that has small animation. Here is an example from a video http://www.youtube.com/watch?v=5oSWt84VoAg (0:41).
    2) how to move objects with increasing speed and soft slow down. I know how to change speed, but how to make it so that it is only accelerating and slowing down? Same examle can be found from the clip above with the place holders and texts.
    Thank you for your help. If there is same kind of discussion going on please let me know. I could not find it.

    All of what you want to do comes down to the fine art of learning how to magle curves in the graph editor, which is nothing you can learn from just watching totorials. You learn it by doing and collecting experience.
    Mylenium

  • Converted file is pic not text - how to make text?

    Converted file is pic not text - how to make text?

    Hi,
    I am moving your posting to Adobe ExportPDF forum as you posted this at Acrobat.com forum.
    It seems that you did not turn on "OCR" when you convert your PDF file or your PDF file contains too small text/graphics/complex layout. 
    Please send your file to us if possible using below site so that we can look into the problem:
    https://adobeformscentral.com/?f=qJiclooYWGGNFtWfj8g3wg#
    Thank you.
    Hisami

  • How to make multi-box fields for name or address in a PDF form to be filled in?

    I would like to know how to make fields for name and address in a PDF form.
    I am now using Acrobat 8 Pro on Windows Vista. I have downloaded a form in the format of a PDF file. Basically it is just a file holding images of pages of the document, and there are no fields for me to type something on it using computer. This form will be used frequently by me, but I don't want to print it out and fill it in every time by hand. I want to fill it in in the computer and print copies of it when needed. The output will then be much more neat and tidy.
    I have seen PDF forms with blanks for typing name and address, which means the form can be filled in on the computer before printing. They are special, as these blanks allow users to type name and address with every character occupying a box in the field, which consists of ten boxes or so. These are not ordinary textfields. I want to make similar inputting field as well.
    Does anyone knows something about making these input fields with each character using 1 little box in the multi-box field? Any ideas are appreciated.

    Does anyone knows something about making these input fields with each
    character using 1 little box in the multi-box field?
    Use text fields with the comb of x characters feature.

  • Make PO Box City field as required when either of other fields r non-blank

    Hi,
    I need your help and valuable suggestion to fix this problem.
    While Creating/Changing a vendor, I would like to input some data in the PO box address area (Table LFA1). If I populate the fields PO Box & Postal code fields in this area, the PO box City field should become a required one. Currently it is an optional field. I dont want to do it at field status level.
    If there are not any data in either of those fields, then PO box city field should be an optional one.
    How can we do this? Please provide me a solution in detail.

    hi,
    You can use user exits for this req. Take the help of your ABAPer who can assist you in finding the relevant exit and fix this as per the logic specified by you. Or you can also approach SAP Service marketplace who will provide the required data.
    hope this helps
    regards,
    radhika

  • How to make text field in tabular form as List of value (LOV)

    So the problem is next:
    I should to make field in tabular form as LOV(list of value (combobox)) to load there data form db. Could smb take me an advise how to make it.
    Thanks.

    So thanks, I did it, it works. How now to make next: I selected Id from list and in the next column appears name with ID from DB. so how to make ondemand process i know (thanks to you), but how to get value from LOV that I selected to give it to Dynamic Action.
    Thanks

  • How to validate Text Box field in JSF

    Hi all,
    I am developing the program using JSF with JBOSS as server. I am having a program with two fields Code, Description. I am having option (ADD / MOD) as List Box. If Add / Mod has been selected then Code should be validated from the database but using struts i can able to develop but using JSF i am not able to continue further can any one help in this regard.
    Thanks in advance,
    V.Lakshmi Narayanan

    its a little a hard to understand what you want to do ...
    Do you want to xecute two different validation methods regarding to the value selected in the listbox?
    where validation is checking text in input field versus database?
    if so you have to write a "custom validator".
    You can download the chapter "Conversion and Validation" from the nice JSF Book Core JSF from here: http://www.horstmann.com/corejsf/

  • How to make bs line dt field enabled in FB09

    Hi,
    When I enter document in FB09,I see base line date in non editable mode.How can I make it in editable mode?
    Is there any config involved or any field movements settings required.
    Can you please help in this.
    Thanks in advance
    Regards,
    BM

    Hi,
    If it is working in 4.6C, it should work in ECC 6.0 version as well.
    Please follow the path
    SPRO --> IMG --> Financial Accounting(New) --> Financial Accounting Global settings --> Document --> Rules for Changing Documents --> Document Change Rules, Line item(Execute)
    give the field name as BSEG-ZFBDT
    Since you are using vendor invoice, give the Account type as K.
    dont forget to activate the field can be changed check box.
    Save after doing this...
    Hope it should work....
    Regards,
    Praisty

  • How to make Text filed Grayed out / disabled

    Hi,
    I have a text field and I have set the following property..
    HTML Form Element Attributes:- readOnly=trueThis field is read only now.
    HOW to make this field looks like a disabled field, some thing like filling the background with light gray color.
    Thanks,
    Deepak

    Thanks Andy..it worked..but one clarification.
    when I am using the following code as suggested by you, I am getting the text box border, as well as gray color in the box...THIS is perfectly fine which I wanted.... (This will make that field always read only)
    Element Type - Text
    HTML Form Element Attributes - readOnly=true style="background-color:gray"NOW I want my field to be read only based on condition.
    So I am using the following code, This is displaying the gray color, but the border of the text box is gone, so it doesn't look good. How can I keep the border too..
    Element Type - Text
    Read Only Condition Type (condition - Expression1=Expression2)
    Read Only Element Table Cell(s) Attributes - style="background-color:gray"Also, How to make FONT bold, I am using - font-weight: bold; - but it's not working.
    and finally , can I define this style in custom.css file and then how to call that stylesheet here...????
    Thanks,
    Deepak
    Edited by: Deepak_J on Oct 8, 2009 11:28 AM

  • Maybe you are looking for

    • Open and dispaly XL file in IE with java

      Hi all, I need to display XL file in the browser. Here the problem is,In JSP I am providing one link, After clicking the ling I have to create one XL file and dispaly the XL file(open and display) with out clicking another link or button. I wrote one

    • DTW Error A/R Credit Memos

      Hello guys! I got a problem while trying to upload A/R Credit Memos through Data Transfer Workbench. It shows an error message inthe DTW Error Log: "Cannot add invoice with zero total and deferred tax http://ORIN.DocTotalApplication-Defined or Object

    • Trouble using an asynchronous CFC proxy in CF 9

      I'm having trouble with cfajaxproxy. I've copied demos and they work as far as displaying the correct cfc invocation response in the ajax debugger. But - I can't seem to get setCallbackHandler to work. The data never comes back. This question has bee

    • GoTo - Jump to Target from Query to Web Interface

      Hi Guru's, I'm trying to make a GoTo from a web query (sender) to a BPS web interface (as receiver). That's ok for the moment ! My problem is to pass the parameters from the query for example the CompanyCode to the dropdownlist of the web interface w

    • Web Album creator error

      I have Dreamweaver 2004 and I was in the middle of creating web albums using the command, create album from within dreamweaver. I get a internal error has occured each time  I try to do it  starting today. I cant figure out what has change.  I have r