Multiple Text Boxes Populating a Single Field

I need to create several select lists in a form that can each populate the same field in a table, but obviously need for the select lists in the form to be mutually exclusive so that the user can only enter data into one of them.
There is also a field on the form displayed as a radiogroup, and I would like for the user's selection on this radiogroup to dictate which one of these multiple select lists they use to enter this data.
Before I do any of this, however, I guess my first question is, how do I create multiple text entry fields on a form for just a single field in the table?

hi brice--
if you're coding your form page manually, you'd simply add your extra fields to your page definition and conditionally diplay and use the values you needed. i'm guessing you're asking about wizard generated forms.
you can associate multiple fields with a single database column on your form by simply adding the extra ones you need and conditionally displaying/processing the ones you need. your other questions sound like javascript ones to me. if it were me, i'd take a look at our javascript how-to document at...
http://otn.oracle.com/products/database/htmldb/howtos/htmldb_javascript_howto2.html
...and find the specific javascript i needed from google.
hope this helps,
raj

Similar Messages

  • Syncing Multiple Text Boxes in a Single Indesign File

    In theory this problem seems rather simple and there should be a simple way to accomplish my task, but every search I've tried for syncing text only explains how to thread text boxes.
    What I need to do is layout a template that is 4UP on the page. Currently, whenever I make any edits to my text I have to copy the change multiple times to reflect the change in each instance of my layout on the page.
    What I'd like to do is sync all my textboxes so that any changes or updates will automatically be reflected in each instance of the layout. In the past I've accomplished this in Illustrator using symbols and instances a symbol, but I've yet to find a simlar method in Indesign.
    Any insight would be greatly appreciated.

    zslash64 wrote:
    I had stumbled cross referencing, but didn't understand I needed a  seperate reference for each paragraph within the text box. This worked  pretty well, however when making changes to the original reference  sources, I found the cross reference would break so by time I updated  and re-linked each reference in every text box it ended up taking more  time than simply copying the original text box 3 times. I guess I'm looking for more of a dynamic solution.
    Thanks for the help!
    Zach Barner
    Hi, Zach:
    Thanks for the feedback. You shouldn't have to relink or update multiple changed cross-references in a document individually.
    I did a test on my suggestion, because x-refs aren't supposed to break completely when source context is changed. I saw that I didn't caution you about deleting the cross-reference marker (AKA "Text Anchor"); when you create a cross-reference to source material, in the same or different documents, InDesign inserts a cross-reference marker at the beginning of the source paragraph. If it's not visible, enable Type > Show Hidden Characters. It looks like a colon character (:) in the layer's indicator color.
    NOTE: InDesign uses the term "Destination" to describe the paragraph that a cross-reference pulls into the cursor position when you insert a cross-reference, and it uses the term "Source" to describe the pulled-in destination paragraph that's displayed at the position where the cross-reference is inserted. This usage derives from the terms used for InDesign hyperlinks, where it makes better sense. Depending on your pre-InDesign experience with cross-references in longhand, typewritten, or other computer applications, you may find it, as I do, counterintuitive. I think of "source" as what you pull in, "destination" as the place where you display what's pulled in, and "reference" as the thing that's pulled in. I also use the term "source document" to describe the document that contains the reference's source, and I use the term "container document" to describe the document that contains the reference (the stuff that's pulled in.)
    So, when you change a cross-reference's source material in the source document, if you take care not to delete the cross-reference markers/text anchors that are created at the beginning of source paragraphs, the references in the container document's Hyperlinks/Cross-references panel display a yellow warning triangle for each changed source, and you can update them in one action.
    Updating the changed cross-references can also be confusing: If no changed (yellow triangle) cross-references are selected in the Hyperlinks / Cross-References panel are selected (highlighted,) whether you use the Update cross-references button at the bottom of the Hyperlinks / Cross-References panel, or the Update Cross-Reference item on the Hyperlinks / Cross-References panel's flyout menu, ALL changed cross-references are updated. However, if one or more changed cross-references in the panel are selected, the update button or menu item updates only the selected references.
    See if this helps simplify your operations.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Multiple Text Boxes into One Text Box

    I need multiple text boxes to populate into one text box.  I've got it to work with....
    a=a + "\n " + (this.getField("Other Current Illnesses 1").value)
    However, if the field is blank, it gives me a blank line.   What is the code if the box is "empty" to "skip" that text box?
    Here is what I tried, but it takes everything away even if there is something in the textbox:
    if (this.getField("Other Current Illnesses 1").value !==null) {a=a + ""} else
    a=a + "\n " + (this.getField("Other Current Illnesses 6").value)
    Any help?

    From the sample forms supplied with the Acrobat distribution CD, you can use the "fillin" function that can process up to 3 fields at one time and automatically adjust for null value fields and add an option separator string;
    The document level function:
    // Concatenate 3 strings with separators where needed
    function fillin(s1, s2, s3, sep) {
    Purpose: concatenate up to 3 strings with an optional separator
    inputs:
    s1: required input string text or empty string
    s2: required input string text or empty string
    s3: required input string text or empty string
    sep: optional separator sting
    returns:
    sResult concatenated string
    // variable to determine how to concatenate the strings
      var test = 0; // all strings null
      var sResult; // re slut string to return
    // force any number string to a character string for input variables
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      if(sep.toString() == undefined) sep = ''; // if sep is undefined force to null
    assign a binary value for each string present 
    so the computed value of the strings will indicate which strings are present
    when converted to a binary value
      if (s1 != "") test += 1; // string 1 present add binary value: 001
      if (s2 != "") test += 2; // string 2 present add binary value: 010
      if (s3 != "") test += 4; // string 3 present add binary value: 100
      /* return appropriate string combination based on
      calculated test value as a binary value
      switch (test.toString(2)) {
      case "0": // no non-empty strings passed - binary 0
         sResult = "";
      break;
      case "1": // only string 1 present - binary 1
         sResult = s1;  
      break;
      case "10": // only string 2 present - binary 10
         sResult = s2;  
      break;
      case "11": // string 1 and 2 present - binary 10 + 1
         sResult = s1 + sep + s2; 
      break;
      case "100": // only string 3 present - binary 100
         sResult = s3;
      break;
      case "101": // string 1 and 3 - binary 100 + 001
         sResult = s1 + sep + s3; 
      break;
      case "110": // string 2 and 3 - binary 100 + 010
         sResult = s2 + sep + s3; 
      break;
      case "111": // all 3 strings  - binary 100 + 010 + 001
         sResult = s1 + sep + s2 + sep + s3; 
      break;
      default: // any missed combinations
         sResult = "";
      break;
    return sResult;
    Then a custom calculation field for a full business phone number consisting of 4 fields could be:
    // Business telephone number w/country code and extension
    function doFullBusinessTelephoneVoice() {
      var cc = this.getField("business.telephone.voice.countrycode"); // country code;
      var ac = this.getField("business.telephone.voice.areacode"); // area code;
      var nu = this.getField("business.telephone.voice.number"); // exhchange and phone number;
      var ex = this.getField("business.telephone.voice.extension"); // internal extension number;
      event.value = fillin(cc.value, ac.value, nu.value, "-"); // first 3 fields;
      event.value = fillin(event.value, ex.value, "", "-"); // combined 3 fields and internal extension;
    doFullBusinessTelephoneVoice();
    It looks like a lot of code, but it is easy to insert document level scripts into t pdf so the actual coding is not that much. And if one hase multiple fields that requrie multiple input fields, the coding task is even less compared to working out each field.

  • Can you calculate multiple text boxes to achieve a total value?  If so how is that done?  I am trying to create a order form where multiple items can be purchased but i would like the values of each item to calculate so I can achieve a total value.

    Can you calculate multiple text boxes to achieve a total value?  If so how is that done?  I am trying to create a order form where multiple items can be purchased but i would like the values of each item to calculate so I can achieve a total value.

    Hi sashby51,
    I've moved your discussion to the PDF Forms forum--the folks who visit this forum regularly should be able to point you in the right direction.
    Best,
    Sara

  • Exporting Text from multiple text boxes?

    I'm using InDesign CS3 on the Macintosh. I need to export text from multiple text boxes/stories into one text file. The Export File command only exports text when the text tool is selected and the cursor is in the text box. Unfortunately, I have 8-20 individual text boxes per page, none are linked, and my document is 100+ pages, so selecting each text box individually is much too time consuming. There must be a better way - Please help!
    Thanks!
    Carolyn

    The text exporter plug-in seems to work! I did a quick test - text still will need some clean-up to make sure it's in the correct order, but MUCH better than exporting each story individually. THANKS!

  • Find and Replace Font Colors in Multiple Text Boxes

    Hello,
    I have Illustrator version 15
    I made many text boxes with multiple colors, red and black on each letter. I was wondering if there is a find and replace tool for multiple text boxes. I want to change the reds to black and the blacks to light grey. I tried clicking on change swatch color but it only worked for the letter I had selected, even with the global option selected. I then when to select -> Same -> Color Stroke but it just selected each text box on the page....Is there anyway to do this?
    Jordan

    Not exactly a find and replace but you can do it.
    Select the text frames yu want to change the colors using the shift key to click select the frames.
    Then go to Edit>Edit Color>Recolor Art
    You wll see a dialog with red and black bars along side two shorter bars click the shorter bars to select a New Color a color picker will appear you can use the swatches or the color mixer.
    There is a live preview /so you will see the change in case you want to pick a different gray, of course you can always go back to the recolor art dialog.
    I am afraid you manually have to select text frames with multiple colors in order to accomplish what you want but the method above I believe is the only want to change the colors.
    This video shows how the dialog works but pretend the one frame I did not select is another color.
    http://www.wadezimmerman.com/videos/RecolorText.mov

  • In Pages, How to duplicate a design (multiple text boxes

    In Pages, How to duplicate a design (multiple text boxes & graphics) which is on the top half of the page, onto the bottom half? I appreciate anybody's suggestion!
    Alan

    Hi alanhome,
    Not trying to be cheeky, but a copy and paste doesn't work?
    Cheers,
    GB

  • Is it possible to do a multiple-records data merge that doesn't generate multiple text boxes?

    Is it possible to do a multiple-records data merge that doesn't generate multiple text boxes? And if so, how?
    For publications such as a directory with contact information, it would be easier to manage the layout by merging multiple records into one text box. However, it seems like the only option in InDesign is to merge the records into each of their own text boxes.

    No, but it's possible to stitch the frames together after the merge, then reflow.  See Adobe Community: Multiple record data merge into paragraph styles-applies the wrong style

  • Populating dropdown list with entries in multiple text boxes?

    I'm creating a form that needs to be simple to use and complete.  I would like to be able to populate a drop-down list with entries the user puts into text boxes.  Can this be done?
    For more detail:
    In one location is a table, the use will type into a text box a Project Name, then other information such as location and total acres.
    In another location I've got a table where the user will enter the offerings from each project they listed in the 1st table.  It is a long table as it is, I cannot combine the two (will not fit on one page if I do combine them). 
    Instead of making the user type in the project names multiple times, I'd like to be able to take the project names the users input (from table one) and have those entries automatically populate the dropdown list in the second table.
    Any suggestions would be greatly appreciated!!!

    Not exactly a find and replace but you can do it.
    Select the text frames yu want to change the colors using the shift key to click select the frames.
    Then go to Edit>Edit Color>Recolor Art
    You wll see a dialog with red and black bars along side two shorter bars click the shorter bars to select a New Color a color picker will appear you can use the swatches or the color mixer.
    There is a live preview /so you will see the change in case you want to pick a different gray, of course you can always go back to the recolor art dialog.
    I am afraid you manually have to select text frames with multiple colors in order to accomplish what you want but the method above I believe is the only want to change the colors.
    This video shows how the dialog works but pretend the one frame I did not select is another color.
    http://www.wadezimmerman.com/videos/RecolorText.mov

  • Typing text in multiple text boxes simultaneously

    Is is possible or is there a way or a plugin that will allow me to type a number in one text box and it will appear on multiple other text boxes in the same document. My scenario is I am running 15-up business card type layouts and I am trying a add a job # to each of the backside of these 15 cards by typing it once. Does anyone know how to accomplish this?

    Harbs,
    Single line? I wouldn't expect a job number to be multi-line.
    Unstyled? What makes you say that? Any style (including a nested one) applied to the section character placeholder on the master page would be used. I don't have experience in CS3, but I would like to believe that the text variables would behave the same way. From the behavior I've seen on the InDesigner videos, that is the case.
    Something more complex, such as a multi-line thing, would naturally require a more complex solution. But, for the task as outlined in the original post, the suggestions should be sufficient. Based on John's response, whichever solution he used worked well enough.
    -mt

  • Multiple Text Boxes on 1 Slide...

    There have been a lot of threads about this, but I've been unable to find an answer to the specific situation a colleague is facing.
    We are simulating a mainframe system where the user enters multiple values, then presses enter.  The client wants the simulation to replicate the system as closely as possible, and therefore we would like the user to Tab between the fields.  After the last field is complete, the user should press Enter to move forward.
    I can't get the text boxes to validate upon exit/lose focus...
    In the screen shot below, the text boxes are highlighted for the sake of this thread.  The yellow boxes have shortcuts of "Tab". The last text box (highlighted in purple)  has a shortcut of "Enter".    My hope was that, if a yellow box was not correct, when the user pressed  tab, they'd receive the failure caption, but this has proved wholly  unreliable.  Sometimes it won't appear at all, sometimes the failure caption for a different yellow-shaded text box appears.
    The text boxes don't seem to validate in any discernable order (not by the order they are in the timeline, not by reverse order in the timeline, not by the order they focus when the user presses tab).  I've tried putting an advanced action on the last text box which should check each text box variable against its correct entry and only move forward if each are correct.  This didn't work at all, it would still allow the user to move forward.  I've tried setting it up so that each text box appears after the pause of the previous text box...  I've tried setting the "on complete -> show -> next text box" (maybe I'm missing some key component of this method, 'cause I couldn't get the target to display on this at all)...
    Thanks in advance- I could use any clues you have!

    Hello,
    I thought you wanted one Advanced action in which you will check the entries in all the TEB's (stored in user variables)? Do you think the 'focus lost' event is a good idea to trigger that since you are not sure that it will happen? And if you use the Submit from the 'last' TEB (that can be doubled as a shortcut), this means that you are imposing the sequence, not, you will have to be sure that this one will be the last TEB to be entered? Or do you want an advanced action that will be triggered by all 'focus lost' events and by all the Submit's?
    What do you mean exactly by multiple custom scripts? Perhaps my lack of knowledge of English is puzzling me? You can trigger only one advanced action with an event, but this action can have a multitude of condtional actions, an unlimited sequence of standard actions and even combinations of standard and conditional actions (as I have been describing in the articles I did mention). If you are thinking about something else, please try to explain by giving more details.
    Lilybiri

  • How to populate multiple text boxes by selecting a value from drop down

    I apologize in advance if this is redundant, but I have searched this forum relentlessly to no avail. I have a form  connected to an MS Access database. The database is linked to another datadase on an Advantage server. This is dynamic data that has an ODBC driver allowing to link access tables to the Advantage data. Macros on access updates the table being used on this form. The livecycle form connects to the access data via a DSN on a machine that uses acrobat (not reader). This is a physician office, this form should expedite ordering radiology tests on patients. The plan is to use a drop down to select a chart number that will trigger several text boxes to populate dynamically with the corresponding demographic values like name, age, insurance etc.
    Using a data drop down I am able to select the chart number. When I used the example from the office supplies database, so that a button will trigger the event with the following code:
    if (Len(Ltrim(Rtrim(SelectField.rawValue))) > 0) then
    $sourceSet.DataConnection.#command.query.commandType = "text"
    $sourceSet.DataConnection.#command.query.select.nodes. 
    item(0).value = Concat("Select * from OfficeSupplies Where ID = ", Ltrim(Rtrim(SelectField.rawValue)) ,"") 
    I recieve a syntax error, despite adjusting quotation since I am using text rather than numeric fields.
    My question is the following:
    Is there a simple javascript that I can use to populate these text boxes (which may be read only but would be better if it allows user input)? Or does anyone recommend an alternative method? I would be happy with a link that solves this problem if someone can provide. I am somewhat familiar with js but open to any suggesstion.
    Thanks
    PS this form could also be linked to a Sequel database if that offers an advantage.

    The View object API has a setQurery() method that you can use to set the query as needed before executing it via executeQuery(). You can do this in a custom Application Module method exposed to its client interface and bound to the binding layer. You can call this method from your backing bean on a value change listener.

  • SharePoint 2013 multiple search boxes on a single page

    How can I have multiple independent search boxes on a single SharePoint 2013 page?  My scenario is this:
    1. Search Box 1 is added to the master page
    2. Search Box 2 is on a dedicated search page along with a search results web part.
    Search Box 1 is the search box from the navigation section in the Snippets Gallery.  It is the smaller SharePoint search box.
    Search Box 2 is a search web part added to a web part zone on the page.  It is also the large SharePoint search box.  
    When on the dedicated search page, and a search term is entered into search box 2, the search term is "entered" in both search boxes.  The real issue, which totally breaks the experience, is that the same CSS is applied to both search boxes
    on the page.  So the smaller search box, search box 1, gets the CSS class ".ms-srch-sbLarge" dynamically applied to it.  Additionally, we noticed that the divs wrapping the search boxes both get the ID of "SearchBox1".  I
    have added a before and after image to illustrate the problem.  
    5/9/2013 - 
    I have some more information to add to this issue.  SearchBox2 is using a display template. The control_searchbox.js file associated with the display template correctly gets SearchBox2's control ID when the page is first rendered.  However, when
    a search term is entered in SearchBox2, rather than preserve the control ID it found on page load, control_searchbox.js  parses the DOM for a TemplateType of "control" and a TargetControlType of "searchbox".  It finds the first
    one it comes to, which is the one in the master page and overwrites SearchBox1 with it's own markup, which is targeted for SearchBox2.
    Microsoft - this would seem to be a bug in SharePoint.  How can we get a fix for this?

    So what you can also do is set the searchBoxScriptWebpart directly in the masterpage with pointer to a displaytemplate. This way you have more control. In the RenderTemplateId attribute you can point to the same displaytemplate or create your own copy with
    customizations.
    <SearchWC:SearchBoxScriptWebPart RenderTemplateId="~sitecollection/_catalogs/masterpage/Display Templates/Search/Control_SearchBox_Compact.js" ID="SearchBoxScriptWebPart1" DefaultDropdownNodeId="1001" UseSiteCollectionSettings="false" EmitStyleReference="false" ShowQuerySuggestions="true" ChromeType="None" UseSharedSettings="true" TryInplaceQuery="false" ServerInitialRender="false" runat="server" __WebPartId="{2243C4B0-F63F-4573-B39E-3A60BA773508}" />
    This worked for me. :)
    This eventually worked for me too.
    I was referencing this webpart from my master page but experienced issues on the search results page as described above. When I set the RenderTemplateId property, it would work some of the time and other times I would get a display error from the webpart
    in my master page.
    I had to make sure that ServerInitialRender was set to
    false. @adilbouhouch already has it set properly in the markup above. I missed it initially and just wanted to point it out in case anyone else gets the same issue.

  • Re-linking multiple text boxes in InDesign

    So here's my problem....
    I've laid out a magazine in InDesign. It has many features, complete with graphics, insets, etc. One of my contributing authors wants his story (as published) sent to him separately in order to have it translated into Japanese. It's six pages long. I've copied & pasted it into a new 6 page InDesign document. But now the text box links are broken. I want to re-link the text boxes (already filled with text) back together, but I can't seem to figure out how to do that. I really DON'T want to have to reflow all the text and graphics again. Isn't there a simple way to just re-link the text Boxes?

    Instead of copy/pasting, you would have been better off going to
    Layout>Pages>Move Pages and moved them to a new document. Then the text
    threads would have stayed intact.

  • PDF as multiple text boxes

    When I open up a pdf that was written in hebrew to edit it. It shows up as a whole bunch of little text boxes instead of one big paragraph has anyone ever encountered such a problem?

Maybe you are looking for

  • Regarding read and compare of internal table.

    HI, i want to read internal table based on key pernr. suppose if we load the dec month data we want the last record of that month. if we load march 2008 data we want todays record. for this there are two fields datefrom and dateto. how to compare the

  • ROBO 8 (Adobe RoboHelp 8 HTML has encountered a problem and needs to close.

    I am really getting frustrated with RoboHelp 8 (HTML).  It will work for a day or two then when I try to open it, it will not open and give the message above.  I have to unzip a copy and it will let me open it.  I can work for awhile and then it will

  • Need to use standard text in smartforms

    Hi,     My requirement is like to use standard text for the address like ... Company Name Street, State, PIN Phone: 111-111-1111 All the above lines should be aligned in the middle and 'Company Name' should be displayed in the bold. 1) I have created

  • Database is fine or not?

    How can we check the database is fine or not in oracle?

  • Windows 7 Home Basic (Genuine Version): How to keep it?

    Hello Again: BS: I've lost the Recover Manager Option because I moved the folders to another partion. Questions: Can I clone the current system into DVDs (because i'll format my laptop later)?, I want to keep my original Windows 7.I have a Serial Num