Add value entered in a text box to drop down menu options

hi everyone
i am making a pdf form for medical imaging report. i have a text box where the users enters a number, i want this entered number to appear within a drop down menu options
thanks

Hi Alexander,
I can explain you the details there is a list as you mentioned Newsletter with a column email in it you are right but for your answer ya i can use enforce unique values for that column but if i am using it it gives me an error in the next page what i want
is just beside my text box to say that already registered user.I want that functionality that is what i meant.
Thanks
Eswar
Eswar Chand Teki

Similar Messages

  • Error message based on text in a drop-down menu...

    So I have a simple number field and a text drop-down box (with, let's say, the values "Blue", "Red" and "Green".)
    I want to set a minimum and maximum (say between 5 and 20) value on the number field and send an error if the user enters a number outside of that range. BUT the range can be different depending on if the user selects Blue, Red or Green from the drop-down menu.
    So for Blue, the range might be 5-20; for Red 7-22, and Green 10-25.
    SO if the user chooses Blue then enters a 4 or a 21, he'll get an error message prompting him to specifiy a value that is from 5-20.
    That's it, in a nutshell.
    Any help I could get would be awesome. Thanks in advance.
    Thanks,
    T.

    There are several events to consider here:
    1. The drop-down value is changed without any values in the text field
    2. The drop-down value is changed with a value in the text field
    3. The value of the text field is changed (I'm assuming there's no "blank" value in the drop-down, or there will be another event, where the value of the text field is changed when the "blank" option is selected)
    You need to decide how to treat each event. I would recommend resetting the text field each time the value of the drop-down is changed. Otherwise you will need to perform the validation from two different sources.
    To do that add the following code to the drop-down's custom validation script (replace "Text1" with the actual field's name):
    this.resetForm(["Text1"]);
    The code you can use for the text field can be something like this, as the custom validation script (replace "Color Selection" with the actual field's name):
    event.rc = true;
    if (event.value) {
        var color = this.getField("Color Selection").value;
        var min=0,max=0;
        if (color=="Blue") {
            min = 5;
            max = 20;
        } else if (color=="Red") {
            min = 7;
            max = 22;
        } else if (color=="Green") {
            min = 10;
            max = 25;
        var v = Number(event.value);
        if (v<min || v>max) {
            app.alert("Error! The value must be between " + min + " and " + max);
            event.rc = false;

  • Display normal text instead of drop down menu

    I have two tables. One is the customer particular, which has RaceID(int) as one of the field. The other
    table is Race, which has RaceID(int) and Race(char). Both of these tables are linked together.
    I have the following code generated from Ultradev when I am using Dynamic Elements Server Behavior.
    I will gonna do a search page, which list the value of Race of customer in normal text for each staff,
    not the drop down menu(but during insert page, I am using drop down menu to enter the data). How to
    do that?
    Codes:(This code will generate a drop down menu which compare the value in the customer particular and
    the race tables. If selected, display that one with the drop down menu.
    <select name="race">
    <%
    while (Race_hasData) {
    %>
    <option value="<%=((Race.getObject("raceID")!=null)?Race.getObject("raceID"):"")%>" <%=(((Race.getObject("raceID")).toString().equals(((((Matching_data
    = Matching.getObject("raceID"))==null || Matching.wasNull())?"":Matching_data)).toString()))?"SELECTED":"")%>
    <%=((Race.getObject("race")!=null)?Race.getObject("race"):"")%></option><%
    Race_hasData = Race.next();
    Race.close();
    Race = StatementRace.executeQuery();
    Race_hasData = Race.next();
    Race_isEmpty = !Race_hasData;
    %>
    </select>

    don't use <select>, use <input type = "text"> instead and you will get text box.

  • How do I get a sum of cells for rows that contain a text in a drop down menu?

    I am trying to track individual sales with each of my vendors. I have a column of drop down menu's that list each of my vendors. I am trying to associate a dollar amount for a single transaction in a row that is associated with a vendor and get a sum for all of my single trasactions with that vendor for the year. I have used =countif to build a pie chart of % of transactions per vendor now I am trying to get a dollar amount as well
    Thanks in advance
    Don

    HI Don,
    COUNTIF will count, SUMIF will sum.
    The main difference between them is that COUNTIF works with data in a single column—in this case the column containing the vendor names—while SUMIF uses two columns—the vendor names to decide which rows to include in the sums and the amount column to determine the amount to incude.
    Example:
    Main: Vendor names in column A, descriptions in columns B and C, and dollar amounts in column D
    Summary: Vendor names in column A, Number of transactions in column B, Dollar totals in column C
    Formulas inn Summary (both are entered in row 2 and filled doen to the last row):
    B2: =COUNTIF(Main :: $A,A2)
    C2: =SUMIF(Main :: $A,A2,Main :: $D)
    Regards,
    Barry

  • Email form script with custom text field and drop-down menu?

    Hey, I'm building a website in iWeb - http://dl.dropbox.com/u/19707357/Website/craftpackage.html
    And I was looking for a script that could possibly send an email to me with the info a user chooses from/puts in 1. dropdown menu 2. text field 3. another text field. I'd be awesome if the fields could have a custom background or a transparent background.The drop-down menu could have any background, but it would be awesome if it could be made with custom images !

    Basic question.
    What have you yourself done to find out?
    Nothing?
    Start here :
    http://www.google.com/search?q=how+to+make+a+mail+form
    http://www.google.com/search?q=dropdown+menu+with+transparent+background
    Unfortunately, it has no dropdown menu :
    http://www.wyodor.net/blog/archives/2010/01/entry_301.html
    Btw, dropdown menus in forms at select menus. These are not the same.
    http://www.google.com/search?q=select+menu+form
    http://http://www.w3schools.com/html/html_forms.asp
    So start practicing and once everything works the way it should, display it in a html snippet.

  • Copy text fields and drop down menu fields

    Hi,
    Using LiveCycle Designer ES, I am making a simple form with some text fields and along with some drop-down menu fields.  With the resulting pdf, I need for one to be able to select the appropriate selection in the drop-down menus.  Then using cntl-a to select everything and then cntl-v to copy it into a text document.  This approach will only copy the text fields and not what is showing in the drop-down menu field.  Is there any way to solve this problem?  The end users computer has limited tools and software cannot be installed on it.
    Thank you for considering this issue and any help you may provide,
    ja

    Hi,
    I don't really know if the text field can be selected using Ctl+a, but if that is possible how about adding extra text field that is linked to pulldown menu?
    If the usage of the PDF is only for copying, then I would make a formcalc or javascript to combine all the text into one text field so that user only need to copy paste one field.

  • "undefined" appearing next to text in CSS Drop-Down menu, why?

    Hello everyone,
    I am having a problem with a CSS drop-down menu. The menu works fine, as you can see here:
    http://littlebuddymedia.com/help/011.html
    But the text "undefined" appears next to the main menu options. My question is, why?
    I have narrowed the problem down to this chunk of code:
    <div class="chromestyle" id="chromemenu">
    <ul>
    <li><a href="http://www.dynamicdrive.com">Home</a></li>
    <li><a href="#" rel="dropmenu1">Resources</a></li>
    <li><a href="#" rel="dropmenu2">News</a></li>
    <li><a href="#" rel="dropmenu3">Search</a></li>   
    </ul>
    </div>
    If you remove the rel="dropmenu1" portion of the code, the word "undefine" no longer appears, but then the menu doesnt drop-down anymore.
    Any ideas?
    If it is needed:
    Here is the CSS file: http://littlebuddymedia.com/help/chrometheme/chromestyle.css
    Here is the JS file:http://littlebuddymedia.com/help/chromejs/chrome.js
    Thank you.

    When I use FF to view the generated source, I see this -
    <li><a href="#" rel="dropmenu1">Resources undefined</a></li>
    <li><a href="#" rel="dropmenu2">News undefined</a></li>
    <li><a href="#" rel="dropmenu3">Search undefined</a></li>
    The undefined is coming from the javascript functions that you have loaded in that external file.  This function call is what starts it -
    <script type="text/javascript">
    cssdropdown.startchrome("chromemenu")
    </script>
    If you want 100% reliable drop menus that have been exhaustively tested in all common browsers/platforms, check the ones available from http://www.projectseven.com.

  • Interactive boxes (e.g. google maps text box) and drop-downs from those boxes go blank white.

    So for certain websites//boxes when I open them they are just blank white, or toolbars on websites will also randomly go between visible and completely white randomly as I scroll. So for example the facebook toolbar randomly goes white, when I try to check my messages//notifications it goes white, the google maps text box and all the drop downs are completely white, etc.

    You can try to disable hardware acceleration in Firefox.
    *Firefox > Preferences > Advanced > General > Browsing: "Use hardware acceleration when available"
    You need close and restart Firefox after toggling this setting.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Drop down Menu, Option,value

    Folks,
    Is there a way I can get the Option that has been selected in the page. I know that we can get optionValue by request.getParameter("dropDown"); I want to able to capture the option also i.e if the user selects <option value="1">first</optiont>, can I get Option name "first" that the user has selected?
    <select name="dropDown">
    <option value="1">first</optiont>
    <option value="2">second</optiont>
    </select>

    There are two ways:
    a)�@Make your value inclusive of text.
    Ex;
    <option value="1$first">first</optiont>
    In your servlet u may seperate the value and text using string tokenizer having "$" as the token seperator.
    b) You can do it using javascript while submitting your page.
    function callSubmit()
    var ind = document.forms[0].dropDown.selectedIndex;
    var temp = document.forms[0].dropDown[ind].text;
    // set the value of hidden field
    document.forms[0].hiddenField.value=temp;
    alert("say thanks to rohit");
    document.forms[0].submit();
    I my choice is method b)�@�@�F�|�j
    Cheers
    Rohit Kumar

  • Acrobat Forms - Make fillable text box appear after box checked or drop down menu item selected

    I have been asked to build an approvals form for my workplace however the approval processes vary considerably depending on the subject. I have been asked to create a list of topics in the form of check boxes or a drop down menu which will then populate a list of text boxes with differing approval authorities and corresponding spaces for signatures.  i.e. if 'Topic 1' is selected a list of names and signature spaces will appear, however if 'Topic 2' is selected a different list of names and signature spaces will appear instead.
    In order to achieve this I think I only need to find out how to link check boxes or drop down menu items to the appearance of different text boxes.
    I should also add that I am a beginner with this stuff.
    Thank you very much for any help you can provide.

    Remove the red coloured part
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible {
    left: auto;
    top:0;
    or start again with the original SpryMenuBarHorizontal.css and follow the rules as in http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one.
    Either way will get you back on track.
    Good luck.
    Ben

  • Sort values in numeric order in drop down menu

    Is there anyway to sort the values in numeric order-asending for the drop down menu of a particular field.
    Any ideas?
    G

    Add a property 'SORTED' and Boolean = true in BPE.
    G

  • How to add the value of the two text boxes in the 3rd text box in ssrs table?

    Hi ,
    in my ssrs table i encountered a situation where i need to computing for the two text box values and i have to show that value in page header.
    for example i have to add the textbox9 value and textbox12 value then i have to show that value in the page header.
    Please help me with this requirement.
    Thanks in advance,
    Naveen

    Hi NaveenMSBI,
    According to your description, you want to sum the value of two textboxes, then display it in a page header textbox.
    Just PrajapatiNeta said, an expression in a page header or footer can refer to only one report item. So we can create a hidden textbox named textbox20 with the expression below in the report body:
    =reportitems!textbox9.Value + reportitems!textbox12.Value
    Then use the expression below in a page header textbox:
    =reportitems!textbox20.Value
    Besides, please note that in a page header or page footer section, only text boxes on the current page are available as a member of the ReportItems collection. For example, if ReportItems!textbox20.Value refers to a text box that only appears on the first
    page for a multipage data region, you can see a value only for the first page.
    Reference:
    ReportItems Collection References (Report Builder and SSRS)
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to retrieve the Text entered in the Text Box provided in the UWL Inbox

    Hi Experts,
    I have created a workflow with user decision task. for that task in UWL inbox i provided a text box using XML Code, but i couldnt retrieve the Text entered in the text box. I hope the text will automatically upload in the "_Attach_object" container element of the Workflow,  but it couldnt upload in that,  If anyone can help me to solve this issue.
    Thanks & Regards,

    Hi,
    <ItemType name="uwl.task.webflow.decision.TS91100000" connector="WebFlowConnector" defaultView="DefaultView">
    <ItemTypeCriteria connector="WebFlowConnector" externalType="TS91100000"/>
    <Actions>
      <Action name="accept" groupAction="yes" handler="UserDecisionHandler">
       <Properties>
        <Property name="decisionKey" value="2"/>
        <Property name="UserDecisionNote" value="true"/>
       </Properties>
      </Action>
      <Action name="reject" groupAction="yes" handler="UserDecisionHandler">
       <Properties>
        <Property name="decisionKey" value="1"/>
       </Properties>
      </Action>
    </Actions>
    </ItemType>
    I have implemented the above code and i got the Text Box,  but now the problem is i couldnt retrieve the
    text entered in the Text box.  I checked in the  attachobjects   container element related to the task and the subsequent task but the text is not appearing there.  Can you help me to get the text entered in the text box.
    Thanks & Regards,
    Manikandan.S

  • Customizing Slideshows - how do I add an image in the text box that only shows up for a specific ima

    Customizing Slideshows - how do I add an image in the text box that only shows up for a specific image and not in every text box?

    Can you maybe provide a screen shot to further explain your question?
    Julia

  • Form is cutting off half of data entered in a text box

    I have a form for users to complete and email back to us which works fine for some users. When some users are completing the form half of the data entered into the text boxes is being cut off. I am not sure why it is working for fine for some and not for others. Any help is greatly appreciated. Thanks

    Check the max length on the field being trimmed.

Maybe you are looking for

  • Open and close multisim contact with LabVIEW

    Can I open and close multisim contact with labview and read the receptor estatus (p.e. lamp)? Thanks. Attachments: Dibujo.JPG ‏13 KB

  • Two different ways to show a JPopupMenu - the differene

    Hi! I am wondering what the difference between these lines are: myTable.setComponentPopupMenu(tablePopupMenu);and tablePopupMenu.show(myTable, evt.getX(), evt.getY());I have noticed that if I use setComponentPopupMenu(Component c) in a MouseListener

  • Keytool problem

    Hello, I have a keystore and its instance is ("JCEKS","SunJCE"). I am creating secret keys and privatekeys and store them inside my keystore. When I try to reach this keystore by using "keytool" application, I get the following error: java.io.IOExcep

  • How to display oracl.sql.NUMBER in the debugger?

    Hi, I would like to use oracle.sql.NUMBER for various reasons. Unfortunately, I found no way to display in the JDev debugger the actual VALUE that is represented by an oracle.sql.NUMBER object. Is this really not possible or am I missing something he

  • IMac shuts down during Mac OS X Bootcamp Installation PLEASE HELP!!

    Hi, Just opened my new iMac and have installed Windows XP Professional SP 2. I have inserted the Mac OS X installation disc, per the instructions, but Boot Camp won't install in Windows! It looks like it is going to copy files, but then it just shuts