Concatenating 2 fields in a single text box...

Hi All,
    I want to display 2 fields in a single text box of an adobe form....how is it possible????   one field is the pernr and the other is a text field.....

Hello,
You can do in 2 ways.
1. Wrap 2 fields into one subform,set flow content to the subform and set the expand to width.Set expand to width to the 2 fields.
2. Wrap 2 fields into one subform, set invisible in the object properties , set height and width as 0, Insert 3rd text field into the subform set no binding. Write the below script on the subform in form ready ( if it is in body page).
[code]var f1 =  $.field1
var f2 =  $.field2
$.field3  = Concat(f1, f2)[/code]
pavan meda

Similar Messages

  • Displaying a mix of L to R and R to L readable strings in a single text box

    Folks,
    Is it possible to get accurate display of fields when  English string values and hebrew characters are dragged into a single text box for viewing.
    Currently while doing this the display gets erratic as some of the english strings gets displayed in the middle of a hebrew word.
    the whole text box data needs to be read as R to L , with the exceptions of a few English string DB values.
    Is this achievable ?  Thanks for your help.
    -Jayakrishnan

    Thanks for your reply Jamie.
    I am not sure whether I made my requirement really clear.
    I have these formula which display words in multiple languages, say english , hebrew , korean etc. The data value for this formula will be supplied by the framework externally at run time depending on which language has been selected.
    Now for this scenario I got to display 50 + objects in a concatenated fashion containing the combination of above said formula ( Labels ) and their DB values.
    For hebrew language the text growth should be R to L even if it would containg DB fields which may be integers or strings.
    The logic you have mentioned in the txt file, I have not understood why we need to reverse the string as I am assuming the characters would be laid out correctly.
    The missing part is when the string grows to the next line the printing should start from the Right and not from the Left.
    Hope this would be a little more clear.  Appreciate your time.
    -Jayakrishnan

  • Can I do this in a single text box?

    I'm working on a layout. The table of contents is currently two columns, one for the page number and one for the description, but we're looking for a way to keep it all in a single column. How can I set it up?
    I'm including a screenshot of the layout for reference.

    It may be difficult if you are using InDesign´s TOC tool, maybe someone else have some tips&tricks for that...
    But if you are putting your TOC together manually, there´s few ways how you can get more control over your columns...
    I would use tables, but then we are not talking about text frame columns anymore... if you want to use text frames, you can use InDesign´s split column feature.
    I attach sample indd for you, it´s very quickly done, so don´t check it too deeply...=) But you can explore the basic principle with it... Make sure that you calculate your text´s leading so that it maches the grid settings... and allign you pagenumbers and TOC headlines to grid... that way you can keep them aligned...
    Here´s the actual file:
    https://dl.dropboxusercontent.com/u/17227987/splitCol.indd
    ps. not that you have build your text with following order if you are using split column:
    45
    47
    49
    Golf
    Ratiae parupta tiuntio.
    Nem quiberrum nosa pe voloriscipit vero conse il id quibus a volori ilis es in cum earuptios ipsanda ersperi aspedip sapidi cone sit
    Scuba
    Ratiae parupta tiuntio.
    Nem quiberrum nosa pe voloriscipit vero conse il id quibus a volori ilis es in cum earuptios ipsanda ersperi aspedip sapidi cone sit
    Tour Plus
    Ratiae parupta tiuntio.
    Nem quiberrum nosa pe voloriscipit vero conse il id quibus a volori ilis es in cum earuptios ipsanda ersperi aspedip sapidi cone sit

  • Multiple database fields in a single text field

    hii all
    i am trying to do the follwing
    i have in my database city ,state adn zip
    I want to display them in one field of my tablular form ie the field will have a prompt
    prompt :- City ,State and Zip
    and in the field i will have the corresponding database values for the 3 seperated by commas
    how can i do it ??
    plzz help
    mandar

    Hello,
    Create a non-based item, then populate it with concat in a POST-QUERY trigger.
    Francois

  • Error when embedding a formula field in a text box in a subreport

    I am rewriting an application that merges data from a .net application into a Crystal Report template and displays it in the application.  In VS2003, I have had no problems with the reports as they are written.  In VS2010, I get an unusual error on some reports with subreports. 
    In one report I have multiple subreports.  In those subreports, I have formula fields.  If I take one of those formula fields and embed it into a Text Box and attempt to generate the report through the application, I get the following error:
    This field name is not known.
    Details: errorKind
    Error in File Confirm {20564DCB-5CA4-4832-8931-DF1CC6C54784}.rpt:
    Error in formula  optionStrike:
    '{Command.OPTIONSTRIKETIME}'
    This field name is not known.
    Details: errorKind
    If I take the very same field out of the text box and put it directly on the report, the report will generate without error.
    In the case above, OPTIONSTRIKETIME is a string field.  This rules out any conversion errors from a date/number/etc to string for the text box.
    Has anyone else encountered this error?  If so, what can be done to avoid it?

    Hello,
    Thank you for the info.
    Which driver are you using for the dataset?
    If you are using ADO.Plus add this to your App.Config file:
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
    Thank you
    Don

  • Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?

    Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?
    I use the Tools > Annotate > Add Text feature, and when I click away after adding text, it automatically changes the text box size such that the last letter -- or last word -- gets bumped off into an invisible line below it, forcing me to manually adjust every single text box. It is highly annoying when trying to complete PDF forms (e.g. job applications).
    It appears to be a glitch, quite honestly, an error resulting from Apple's product design. Has it been fixed in the new operating system (for which they want $30)?
    I would very much appreciate any help you can provide! Thank you for your time.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How do I stop Firefox from Zooming to Fill the entire Width of the screen with the Text Box?

    In Portrait mode the zoom facture / percentage performed may not be as significant or frustrating. However in landscape mode zooming the text box to fill the width of the screen is ridiculous. It makes the box huge & sometimes impossible to see / read what is needed in subsequent form text boxes.
    In Landscape mode this sets in motion a necessity to zoom out following the competion of typing in every single text box. (Just try to fill out a form & see if you don't feel like cursing. In Landscape mode especially, I zoom to see what I want to see. I don't want firefox to undo my zooming action!
    Is it possible to dissable this auto zooming in the settings? Or is it possible to suggest this change be added to future updates?

    See if disabling this improves the experience:
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''', to continue to the about:config page.
    # Look for find.helperautozoom I think it is called

  • Color in the text box

    hi friends,
    i am working on oracle forms 6i. I am having a text box with multiline. I used to display the values of 3 text boxes in to a single text box ( text box with multiline ). The values of the text boxes must be in different font color, so that it will be differentiated between them.
    text = multiline text
    text = text1 + text2 + text3 ( text1, text2, text3 must be in different color)
    please help.

    Hello,
    It is not possible to set different colors in the same text item.
    All you can do is to create sevreal text items, set them border bevel property to none, arrange them (arrange -> align components -> Horizontal : left, vertical : stacked)
    Then draw a rectangular shape arround and set it's border bevel property to inset.
    Then, you have 3 different items, but visually, you think there is just one.
    Francois

  • How can I keep acrobat from breaking apart text boxes?

    I have a multipage graphic document that I am addiing text to in several stages. I just selected Add Text and entered my content into one "box" for each section I need to add but when I re-open the document the next day to continue my work, Acrobat breaks my single text box of content into multiple smaller boxes making my new edits a complete pain. Is there any way to keep this from happening? I'm running Acrobat XI Pro 11.0.06

    I've been giving this some thought.
    Generally, the idea of sharing design between two people by having one of them use Acrobat is a complete non-starter. And I would say use InDesign. But it does have a steep learning curve. Nevertheless, it would be the most viable way to collaborate on this project, and the most editable/maintainable for you, especially if the maps were not changing but the contact details were.
    But let's look at some other alternatives. Not converting to anything else. Not graphics. Not Word. All terrible, they will leave the thing awful, or enormous, quite probably both.
    If you are stuck with Acrobat I recommend a defensive approach.
    1. Always keep the un-marked original.
    2. Add your text.
    3. If you need to edit the text, start by deleting it all.
    4. If the text boxes get mixed up with the underlying graphic, give up on the page and use Replace Pages from that un-marked original; add a new caption.

  • How do I make the margin beneath the text in a text box smaller?

    Hi-
    I'm trying to either make the inner margin in a text box smaller, or align the text on the bottom of the text box in fireworks. (by text box, I mean the box surrounding a text element).
    With the extra space beneath the text, I can't place the text box close enough to the element beneath it without the two boxes overlapping. Not sure I'm making this clear; please see the screenshot.
    Thanks in advance for the help!

    Ahhh... that's a really good reason. It *would* be nice if Fireworks' text boxes could emulate the CSS box model and include features like background, border, padding, etc.
    When you say that "adjusting the text box padding" didn't work for you, do you mean "adjusting baseline shift"? Because baseline shift should have absolutely no effect on the bounding box itself (though I don't know what it's effect is on exporting to HTML + CSS). The box itself stays rock solid, while the individual letters move up or down.
    Nevertheless, it's not the greatest solution. In this context, if you want to preserve the flow of your text content while maintaining maximum control over its appearance—and avoid the conversion to absolute positioning—your best bet might be to use a single text box. If you think about it, there are plenty of ways to control the placement and appearance of text within a single box (although it may not be how you prefer to work). Keeping things "in flow" should keep them from being absolutely positioned upon conversion.
    Aaron Beall has developed a nice set of Text commands for Fireworks—including a "Merge Text Boxes" command that could be helpful to you if you wanted to combine your multiple boxes into a single text box. (I was originally wondering if anyone might have developed a command to snap the bounding box of text to the text itself—to its inner "raw" dimensions—but I didn't find one.)
    http://fireworks.abeall.com/extensions/#Text

  • Duplicating Text Boxes in Adobe 9

    I hope someone can help.  In Adobe 8 I use to be able to create a text box with text then duplicate it on as many pages as I selected.  How do I do this in version 9?

    It is able to be done, but it is much more complicated.  I switched from Adobe 7 where it was a simple right click of the text box to duplicate.  Now you need to do the following:
    Click Forms
             ---> Add or Edit Fields
    Click "No" when it asks if you want to let Acrobat detect the form fields.
    Then right click on you document and select "Text Field".  Draw your text box like normal.  You can then right click on your text box and duplicate like you used to be able to.  When you are done, you click the "Close Form Editing" button in the upper right hand corner.  To alter your text boxes, you go back to Forms---> Add or Edit Fields.
    I don't like how this has been changed, and if anyone knows of a simpler way of doing, I would like to know too.
    Adobe, you made some terrible changes to your software.

  • 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

  • Need help adding field data from a table to a text box

    I have a form that has a table. Within the table is a description box. The user enters data into the box and can add/remove new items. When they are done I would like the text from these fields to be concatenated into a large text box. Essentially what they are doing is creating a list of descriptions that will be pushed into a report field.
    Thanks,

    Hi,
    Yes, you should be able to adapt the example to work for the main summary textfield.
    I would place the script in the exit event of the table textfields. You would still need to clear the summary textfield and then loop through the table and update.
    Inside the loop the text would be like:
    summary.rawValue = summary.rawValue + xfa.resolveNode("Table1.Row1[" + i + "]").textField.rawValue + " ";
    Hope that helps,
    Niall

  • Some fields in text box are being displayed multiple times

    Hi All,
    I am getting a strange error in Crystal Reports.
    It is displaying a particular field multiple times while the query returns a single row.
    I have used a text box in which I have dragged and dropped that field.
    The version used to design the reports is Crystal Reports XI while client is having Crystal Reports 11.5.
    Regards,
    Misra P.

    Hi Salah,
    Thanks a lot for quick reply.
    1- I am using SQL queries ,not tables.
    2- The field is in page header for one report and in group header for the other one.
    3- If i grag and drop simply,then it shows correct result,i.e. a single record.
    e.g i am displaying a customer name with title.
    Like Mr XYZ(page header,query is returning a single row).
    and it is being displayed as
    Mr XYZ
    Mr
    Mr
    Mr
    Mr
    Mr
    Thanks again.
    Regards,
    Misra P.

  • I am filling out an online application for school. Is it possible to set Firefox to check spelling when in a single-line text box without having to right click every time?

    I want to be able to set spell check to occur automatically even for single-line text boxes.

    You can set the pref <b>layout.spellcheckDefault</b> to <i>2</i> on the <b>about:config</b> page to perform the spell check on single line and multi line text fields.
    * http://kb.mozillazine.org/layout.spellcheckDefault
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

Maybe you are looking for

  • HT1689 How do I find the balance on a gift card?

    I have agift card for the App Store but cannot seem to find where my balance is.

  • GPU Acceleration In Premiere Pro CC

    Do you have it when exporting via Adobe Media Encoder? I don't seem to.  I ran some tests several weeks back which clearly showed that GPU acceleration was not working when exporting through AME, but worked fine when doing a direct Export.  I ran the

  • My os7 software update    runs on and on  does not finish ?

    When. I down load the latest software update.    It runs on and on and never finishes

  • SUP's Licensing Option.

    Hi Guru's, Can you please explain or point me in the direction of understanding the licensing mechanism with SUP? I know that there are 4 types of licensing: 1. Personal Developer Edition. 2. Enterprise Developer Edition. 3. Enterprise Edition. 4. An

  • FS10N local currency display only

    HI SCN , In our scenario we have posted a FI Transaction in $1000 in USD .The GL account in FS00 is maintained with USD . The local currency maintained is EUR. IN FS10N , the report show only EUR and no values under USD. Let me make it more clear -