Coding in Smartform inside a Text Box

Hi All,
Whether this code is correct inside a text box in a Smartform ?
:/ IF &GS_NAME1& <> ''.
<T2>&GS_NAME1&</>
ENDIF.
:/ IF &GS_NAME2& <> ''.
<T2>&GS_NAME2&</>
:/ ENDIF.
Thanks in Advance ,
Vivek K ..

You cannot use IF statements inside the smartforms text nodes.
In you case, you need to create two text nodes.
one to print <T2>&GS_NAME1&</>, in the condition tabs update the condition with field name GS_NAME1 and select <> option on Operartor column and value as Inital for the comparison.
Second to print <T2>&GS_NAME2&</>, in the condition tabs update the condition with field name GS_NAME2 and select <> option on Operartor column and value as Inital for the comparison.

Similar Messages

  • How to recognize the text inside a text box

    we have a scenario where we are validating the text inside a text box. Actually, we are inserting a text matching test on a node.
    The scenario is like this:
    When we open the screen it contains 6 text boxes.
    We have to enter the text in the first 3 text boxes and save.
    Then based on the entry the values are populated on the other three text boxes.
    We have to validate the values in these text boxes , so we click and highlight the value.
    Openscript identfiy the text box ,but it did not identify or recorded the values we have highlighted.
    How to make the openscript recognize the values? Can we do it through menu options or else we need to write the code?
    Any help will be appreciated.

    I answer to myself:
    Put all inside a PanelGroupLayout and set the layout to SCROLL.
    Edited by: baol on Mar 15, 2010 9:09 AM

  • Threading text boxes inside of text boxes

    I'm currently working on a book where the client has requested that certain sections of text are inside a gray box. I figured I could but that text inside a text box and place that text box inside the main body of text, so the box is uniform and not a floating shape behind the text box that I need to worry about during editing. However, I run into issues when the gray box text spans more than one page. Is there a way to thread text boxes that are placed inside another text box? The little box is there on the corner of the gray text box but I cannot click it to thread it to another 'placed' gray text box. I'm also open to other solutions.
    I'm currently working with Adobe InDesign CS6.

    Unfortunately, no.

  • Find the width of a text string inside a text box?

    Hi,
    I have a text box with a long text string in it. I would like to know what the width of the text string is so that I can scroll it inside the textbox using the text box scrollviewer.
    var sv = this.foodieItemText.GetFirstDescendantOfType<ScrollViewer>();
    sv.ScrollToHorizontalOffsetWithAnimation(this.foodieItemText.Width, 20);
    The scrolling works fine but I don't know what value to use for the width offset in the first argument to ScrollToHorizontalOffsetWithAnimation. For my purposes I want it to scroll the full length of the text string (which is longer than the actual with of
    the text box). Any ideas?

    Hi duffybr,
    Yes, there is a ScrollViewer inside TextBox template and we could scroll to the specific position as we need, however there is no direct way to get the string width in TextBox, however we could get the width in TextBlock, by measure method.
    See this discussion for more information:
    http://stackoverflow.com/questions/9126076/how-can-i-calculate-the-width-of-a-string-in-metro-without-displaying-it
    Besides, there are some third party libraries help us get the String width.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there a way to place a photo/graphic inside a text box with text?

    Have a nasty pricelist to do, 200+ pages. Listings top to bottom, lines everywhere.
    I've figured out a workflow that would make my life 1000 times easier if I can do like I can do in a DIV on a website, put a photo (in this case an Illustrator file) into the background of a text box. I can then use the inset feature to push the text down off the top edge a bit, leaving the heading which are part of the Illustrator file, untouched as text flows.
    I can find nothing on a google search about doing this. It's either use 2 boxes, one graphic, one text, or not at all.
    Anyone know of a way? An Extension to ID maybe?  I'm using CC2014 mac.
    Oh ID pro's, can this be done at all?

    Bummer.
    It's a bit tricky but you could anchor the background image behind the text. So:
    An illustrator file and some text:
    Cut the background, place your cursor at the beginning of the text, and Paste:
    Open Anchored Objects Options and choose Above Line with enough negative Space after to position the background:
    The downside is it gets difficult to edit the text because the anchored image gets in the way, so you would have to use Story Editor to easily make text edits:

  • How to change font size of text inside a "text box" form the Drawing Markups?

    Hi,
    I expected there to be an option to change the font size after I selected the text and right-clicked, but no, there is only one option that allows you to change the text style but not the font size.
    Does anyone know how to change the font size?

    Don't know what the e-mail is about, why not just log into the forums. In any case, it does not sound like a text box, but one of the other text options (like the Typewriter tool). The regular text edit tool allows you to edit the text and fonts in a regular text box. Select the box and use ctrl-E. You may have to select the text edit tool (name changed in AAX) first. Such editing is not really recommended. Editting in Acrobat should be limited to simple changes, and those often become a pain. The best method of fixing the problem is in the original document and then creating a new PDF.

  • Targeting Dynamic Text Box inside moviecip with variable

    Hi,
    How does one target a dynamic text box to change the border
    color inside of a movie clip? Example below which does not work
    theName = ("answerPrint" + arryCount);
    boxName = ("box" + (arryCount+1));
    _root.pagePrintPartA[theName][boxName].border = true;
    _root.pagePrintPartA[theName][boxName].borderColor =
    0x00cc66;

    Thanks for the reinforcement, but I should of indicated what
    was what:
    theName = ("answerPrint" + arryCount);// Name of Variable
    inside Dynamic Text Box Inside MovieClip
    boxName = ("box" + (arryCount+1));// Instance Name of Actual
    Dynamic Text Box Inside MovieClip
    _root.pagePrintPartA[theName][boxName].border = true;
    _root.pagePrintPartA[theName][boxName].borderColor =
    0xFF0000;
    By certifying this script you showed me wher I went wron (not
    seeing the forest from the trees). The last two lines should be:
    _root.pagePrintPartA[boxName].border = true;
    _root.pagePrintPartA[boxName].borderColor = 0xFF0000;
    I was targeting backwards. Thanks alot DazFaz.

  • How can I make the Counter move from inside text box to inside Footer?

    I am tweaking a page. At this point, I cannot move the Counter and the Email Me icon from the bottom of the text box to inside the footer like someone here said he does.
    Why do the Counter and the Email Me icon resist being moved?
    I am in Graphics mode. I never had this problem before.
    — Lorna in Southern California

    Lorna,
    I'm not sure why you can't move it down into the
    footer — by inside the text box, do you mean the page
    "content" or "body" section, or did you somehow get
    the icons into a text box? I know that you can
    "force" a text box into the footer (or header) by
    selecting it, then dragging it while holding the
    command (Apple) key down at the same time.
    Hope this helps.
    Bob
    Bob,
    When I say Text box maybe I am not using the right word. I am referring to that entire space on the page which is dedicated to receiving documents or images. If you have a lot of pictures or words, then that text box/space has to be lengthened to accomodate.
    I am saying that the two icons -- Counter and Email Me -- are sitting (or were sitting. It's morning now and honestly, I can't recall from last night!) at the very bottom of the text box/space.
    I made a Footer (55 pixels) specially to accomodate the Counter and Email icons. The problem, as stated, was/is that those icons would not budge from where they were sitting.
    — Lorna in Southern California

  • How to format text inside text boxes?

    i'm sure there's a simple solution for this, but for the life of me, I can't find how to format the text (eg font type, size, colour, etc) inside a text box (one of the editing tools) in Acrobat 8 Standard.
    Is it just not possible, or is it just a case of extreme ignorance?
    Thanks for your help.
    cheers
    Ze

    You may need to mark the text first after opening the text touchup tool. Then use ctrl-E or right click for the properties.

  • Dynamic action on text box change does not working

    i have a page with following components.
    a report that has and edit link.
    a text box to catch the primary key from report link when it is clicked
    a number of elements (text boxes, check boxes and LOVs) which are used as data entry form.
    Now my design is that user enter values save them and no sooner did they save, the report depicts new
    values. if user want to edit any record, they click on edit link and the data entry form elements
    should now bring all those values from DB on page. i m successful to pick primary key and bring
    it in a hidden text box and wrote a dynamic action on its change event that will bring values from
    DB and set all page elements. but but but.........the change event doesnt work. it only work
    when focus is lost from the text box...!! offcourse user wont want to click in that "hiddent" text
    box and then click some where else to bring values in page data entry form......
    help is humbly requested from forum or if any other solution approach is to be used easier than
    one i m using, would be appreciated.
    thanks in advance for reading my bore question :)

    bundles of thanks for reply. i m going to elaborate.
    1. My page no is 3.
    2. Hidden Item name is P3_EDIT_ACTIVITY_ID
    3. Data entry form, hidden item and the report are on the same page.
    4. on the edit link of report, i have used following settings.
        Target: Page in this application
         Page: 3
         and i set hidden item as follows......
         Item 1   P3_EDIT_ACTIVITY_ID         Value #ACTIVITY_ID#
       well, when i click the link on report it does bring Activity_Id in the hidden box (which is not yet hidden for debugging purpose)
    Next i wrote Dynamic action which fires on the change event of P3_EDIT_ACTIVITY_ID and run PL/SQL code with in it which is as follows
      declare
      Dept varchar(50);
    begin
       select my_dept into Dept from activity_main ACTIVITY_ID = :P3_EDIT_ACTIVITY_ID;
       :P3_Dept := :Dept;          (i did use :P3_Dept := Dept also but this wont work)
      insert into testdynamic (stamp) values (Dept);  (I did this to check whether correct value is brought from DB, yes it works correctly, correct Dept is being inserted in stamp column)
    end;
      i have created another true action to check when the dynamic action is fired. its very simple alert. and the problem is, it only fires when focus is lost from the P3_EDIT_ACTIVITY_ID. i mean, when u keep changing value inside the text box, nothing happens, when u go outside, the alert is fired and so the pl/sql procedure. but the line
        :P3_Dept := :Dept;       OR      :P3_Dept  := Dept;         arent working which is the actual requirement.
      I m not using set value here as i have to set a lot of values on page not one. further. plz let me get rid of this lost focus thing as i want the form to be populated with correct values related to P3_EDIT_ACTIVITY_ID as the user click on any edit_link in the report.
    Thanks for persistence. i hope i have provided all the details.
    looking forward.

  • Addind text in a new line within a  text box

    Hi everyone,
    I have a classic text box component that i am using inside
    director. I want to show some text inside this text box in such a
    way that it should come in. For example I am adding "Item 1" ,
    "item 2", " item 3" then every item should be placed in new line.
    I tried using new line symbol ( \ ) it but it didn't worked.
    set member("textbox").text = "Item 1 " & \ & " item
    2" & "Item 3" ---------> this gave me error
    Please suggest how to do this thing.
    Thanks
    Atul Saxena

    Hi Atul,
    Try using 'RETURN'
    set member("textbox").text = "Item 1 " & RETURN & "
    item 2" & RETURN &
    "Item 3" --------->
    Tim
    "Atul Saxena" <[email protected]> wrote in
    message
    news:envfet$dpt$[email protected]..
    > Hi everyone,
    > I have a classic text box component that i am using
    inside director. I
    > want to
    > show some text inside this text box in such a way that
    it should come in.
    > For
    > example I am adding "Item 1" , "item 2", " item 3" then
    every item should
    > be
    > placed in new line.
    >
    > I tried using new line symbol ( \ ) it but it didn't
    worked.
    > set member("textbox").text = "Item 1 " & \ & "
    item 2" & "Item
    > 3" --------->
    > this gave me error
    >
    > Please suggest how to do this thing.
    >
    > Thanks
    > Atul Saxena
    >

  • Dynamic character count info as text box resizes

    Not knowing Javascript, does anyone think this is scriptable?
    When clicked inside a text box the info panel tells you how many characters are in view in that text box and how many are overset... it doesn't however display that info if you are resizing a text box by dragging one of the handles... do you think there may be a way of getting it or having onother info panel that displays how many character are inside the text box and how many are overset and it dynamically changes the read out as the user resizes the text box.
    Regards, Tim

    I don't think Javascript can do stuff "dynamically" -- you'd have to press a button to get the updated values. This sort of things is possible with InDesign, but it'd require writing a full plugin. Writing plugins is not for the meek, the faint-hearted, or the kind of people that enjoy their sanity.
    (OTOH I've been wrong a few times: APID, Rorohiko's script extensions -- http://www.rorohiko.com/ -- can perform a few tricks that used to be plugin-only. Check their website to see if there is something that sounds like your request.)

  • Cannot type in a text box or text callout box

    I'm using Windows 7, IE 9.0.8112.16421, and Acrobat version 10.1.6. I am working in a priorietary platform for reviewing material and I can use all of the commenting tools and can create a text box and a text callout box, but I cannot type in them. My text box and text callout box work just fine with every other program that I use on my system. But this requires using Acrobat and its tools within their platform and I cannot type in those two boxes in that situation. Their first suggestion was it was an Acrobat problem. We have repaired and reinstalled several times to no avail. They then said to be sure Acrobat Reader was not installed (and it wasn't). I've cleared history. Their online reviewing system requires a specific Java script in a specific place -- we've installed, deleted, reinstalled, etc. and it still doesn't work.
    I've used this platform on another computer and it works fine. I got a new computer in February with a new CS, and the problem is occurring on only this new system. And only when I am using Acrobat in their platform.
    Would anyone have any suggestions what I might try? They said they had one report of a person having the same problem, but they had Reader installed.
    Thanks!

    I don't know how to save a sample file to the forum.  But I know it's actualy being created because I can close and reopen the document and the text box is still there and you can still select the text in the text box, view it and see it.  But as soon as you click outside the text box, the text in the text box disappears again until you click back inside the text box.
    This problem has been discussed ad nauseum with no solution ever having been given.
    http://blogs.adobe.com/dmcmahon/2011/09/17/acrobatreader-x-how-to-enab le-the-typewriter-tool/
    By Judy - 5:10 PM on May 24, 2012   Reply
    I am on Adobe X Pro and whenever I add text using the text edit tool the text disappears when I add text to another place in the document. It is also creating comments for every place I add text. How do I get the text to remain visible in the document and not create a comment?
    http://answers.acrobatusers.com/text-box-disappears-q8542.aspx
    "I have a map pdf that I printed from Google Earth. I want to use text boxes to put labels on it. I can place the text boxes and get the font and colors all set up OK, but then when I click the cursor in a new place to start a new text box, the first one vanishes and won't come back unless I mouse over it. I've wasted hours trying to solve this one! I'm using Acrobat Pro X and Windows 7. It also happens with Acrobat Pro 9 and XP."
    http://forums.adobe.com/message/4550185
    http://forums.adobe.com/message/4477271
    Usually, responders claim that one is using Mac Preview or reader or some other program.  THAT IS NOT THE PROBLEM.  THE DOCUMENTS ARE BEING CREATED AND/OR EDITED IN ADOBE ACROBAT X AND NO OTHER PROGRAM.

  • I want to change the size and color of text in call out boxes and text boxes. How can I do this? Jack

    I want to change the size and color of text in call out boxes and text boxes. How can I do this? Jack

    Highlite the text inside the text box and then press Ctrl+E.

  • How to move text in a text box

    Please help me put to move text inside a text box to move smoothly
    If anybody can provide me with the code, I will be thankful to him.

    This might be helpful (Animation inside TextBox) :
    def txtbox:TextBox = TextBox{
        layoutX:50
        layoutY:200
        text:"Hello World";   
        layoutInfo:LayoutInfo{
            width:bind stage.width-150
    def animation:Timeline  = Timeline {
         repeatCount: Timeline.INDEFINITE
         keyFrames: [
                    KeyFrame{                   
                        time:200ms;
                        action:function(){
                            txtbox.text = " {txtbox.text}";
    def stage:Stage = Stage {
        title: "Animation Inside TextBox"
        scene: Scene {
            width: 500
            height: 300
            content: [
                txtbox,
                HBox{
                    content:[
                    Button {
                        text: "Start"
                        action: function() {
                            animation.play();
                    Button {
                        text: "Stop"
                        action: function() {
                            animation.stop();
    }The above code makes animation horizontally inside textbox .For horizontally you can do it yourself. Coloring is even more interesting for text of TextBox
    Thanks.
    Narayan

Maybe you are looking for

  • Can i use multiple ipods on one account

    How do i use multiple ipods on one account so that we can share the music that we own and has been downloaded from cd's

  • How to change the co-ordinayte system?

    Hello to all, I am working on a java project in which i want to display Earth's longitudes and latitudes. Right now my program giving me cartesian means the applet's own co-ordinate but i want the co-ordinates in degrees to solve some communication e

  • CR4E only support JDBC connections not support exterior datasource?

    <p>The current vision only support JDBC connections?</p><p>when I organized the datasource or datalist in the application, if this datasource or datalist can connect the data connection?</p><p> Thank you!</p><p>jessica</p>

  • Ipad2 won't update to iOS 5

    Whenever I try to update it tells me I must first backup my iPad than it begins to backup but re,Ainsley backing up for hours...it went from 10 to eight last night... How can I get mine to update and get past the backing up?

  • Call List and Business Transactions Syncronization

    Hi Everyone: I´m working in a IC Win CLient 5.0 implementation and I need that once the bussines transaction is saved, the corresponding call list is updated ( set to complete ). I already follow al the call list and BT syncronization customizing but