Dynamic display fields in Adobe Form

Hi all,
I am trying to design a Adobe non-interactive form.
But my requirement is If Field = ‘X’ then display table1.
If Field = ‘’ then do not display table 1 in output of Adobe form.
Field & table both are coming from SE38 code.
Please guide me if it is possible or not with a single adobe form.
Other option I have I can design 2 different form one with table & other with no table.
Please guide me if it is possible with one Adobe form or not.
Regards

Hi Umesh,
This is possible using single Adobe form only. Pass this field into context.
And in form, write the script on Form:Ready event of body page:
if ( $.FIELD eq "X" ) then
      $.Table1.presence  = "hidden"
endif
Hope this helps,
Amit

Similar Messages

  • Hide a row or field in adobe form

    Hi guys,
    Can any one suggest me how to hide a field in adobe form.
    My scenario is:
    Using control levels for deliveries with item data, if the item line is only one, then I should not display any subtotal field, if item lines are more than one, only then i need to display subtotal field in adobe form.
    Subtotals are maintained at item level not at the page level.
    Can any provide solution with scripting.
    Thanks.
    RP.

    One way is have some variable which tells how many rows of data is present. Check it and then make subtotal
    visible or hidden. The script will be like below.
    if (rownum.rawValue == 1) then
    this.presence = 'hidden'
    else
    this.presence = 'visible'
    endif
    Thanks,
    Aravind

  • Making some words Bold/Underlined of an editable text field in Adobe Form?

    I have a a requirement of making some words Bold/Underlined of an editable text field in Adobe Form. I have created a "Text Field" and in "Value" tab as default value I have written the textline and made the field Type as "User entered - optional" so that at runtime user can edit that text. Now they want some words of the whole text line should display as Bold and some as Underlined. Can you please help me to meet this requirement.
    Moderator message: please have a look in the dedicated forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on Feb 15, 2011 5:47 PM

    Just an idea, but you might try re-printing that original PDF file to the Adobe PDF printer (saving it as another pdf file, essentially). Then try again to add form fields. (You can copy the form fields you've already created and paste them onto the new file -- just copy and paste while in forms edit mode). A second shot in the dark if the first doesn't work might be to try again, but change the print settings when printing to PDF. I've ready some reports that the dpi setting can have an effect. Maybe go from 600 to 150 and see if that works. Let me know which, if either, of these ideas works.
    -Joe

  • How to make Mandatory field in adobe form

    Hi Experts,
              I have a text field in adobe form,.If user could not interact this form, without filling the text field..can you please give me the suggestion?
    Thanks,
    Hans

    Hi,
    Write the following script at the exit event of your text field.
    if ( $.rawValue == null )
    then
    $host.messageBox("Please Enter Value")
    $host.setFocus("TextField1");
    endif
    Here TextField1 is the name of the text field.
    Regards,
    Vaibhav Tiwari.

  • How to make a field in adobe form noneditable

    how to make a field in adobe form noneditable. like info keys..
    when this form is sent through worflow the receiver shudnt be able make changes to the field value...(I have a form, which has fields prefilled(like pernr employee name) but these fields are in editable able..(i want only some fields to be uneditable not all)
    Edited by: kumar gaurav on Apr 11, 2008 8:04 AM

    Hi,
    You can make fields non-editable at runtime using this code:
    field.access = "readOnly"
    Hope this helps.
    Amit

  • Calculated field in adobe forms central

    Can I make a calculated field in adobe forms central? For example a field that will sum total cost.

    Hi hacker413,
    Thank you for posting on the Adobe forums, unfortunately this facility is not available in Adobe Formscentral.
    Vikrantt Singh

  • Text Field value display twice in Adobe Form.

    Hi Experts,
    I want to display a text field value twice in a ADOBE FORM but it only display at first occurance of the text field.
    Please suggest me possible solution.
    Regards,
    Abdul

    Why don't you have two different text fields in the interface and bind them separately at the two different places in the form. In the driver program you can control the value being passed to be same for both the fields.
    Regards
    Ranganath

  • To make TEXT field in adobe forms dynamic

    Hi Experts,
    I have requirement in adobe forms where based on certain condition I want change the TEXT field accordingly.
    Example if material number in of gas type than text will be "GAS MATERIAL" and then populating corresponding material number.
    If itu2019s of hard goods type than text has be "HARD GOODS MATERIAL".
    Please let me how this requirement can be achieved ASAP.
    Thanks in advance.
    Regards,
    Aks.

    Hi,
    Yes you can definitely make a field dynamic. Bind the text fields with varibale of type Material Number and its description which will have to create in the context (Interface) of the adobe forms. These values you can pass from your driver program or Web-Dynpro.
    Regards,
    Runal.

  • Displaying items in adobe form

    Hello All,
      I am new to adobe forms.
      i need to display billing items, in the adobe form .
      i have created interface, and imported this table. till here i am clear. but i dont klnow how to display
    this information in layout.
    i need to diaply heading and under that relevant data. i ahve total 100 row in billing items table.
    please guide me how to acheive this.
    P.S.: i ahve gone through forum, all of them are takling about, some dynamic display, and table inside table.....this kind of advanced stuff.
    thanks a lot inadvance
    Best Regards
    Amarender Reddy B

    Hi Amarender,
    Try using a Two subform layout for displaying the tabular format. The design should be this way.
    >Parent Subform (Flow Layout and Flow direction is Table and Allow Page break within contents checked)
    >Column Header(use static Text)
    >Child Subform(Flow Layout and Flow Direction is Table Row)
    >Columns binding(user text field and bind it to the Value node attribute and Repeat subfom item checked)
    This is how u display the data in Table format in PDF.
    Hope this helps u
    Regards,
    Poojith M V

  • Setting Image field in adobe form

    Hello Gurus,
    I have a question setting the image field dynamically.
    I have created a following context structure for
    DataSource(ValueNode Cardinality (1..1))->imagenode(Valuenode Cardinalty(0..n))->image(Value attribute))
    I have binded the Datasource node to the Datasource of the interactive form.
    I have dynmaically created the imagenode and set the value for the image.
      for(int i=1;i<5;i++)
             image= wdContext.createIImagenodeElement();
                              if(i==1)
                             image.setImage("http://Image1.png");
              if(i==2)
              image.setImage("http://Image2.png");
              if(i==3)
              image.setImage("http://Image3.png");
              if(i==4)
              image.setImage("http://Image4.png");
              wdContext.nodeImagenode().addElement(image);
    Now I want to set this node to the image field in adobe.
    In URL of the image field I have enterted $record.imagenode[*].image and its not working where as the same thing works for text field.
    Please let me know if any one has any idea on this.
    Thanks,

    Hi Naresh,
    Copy the images to src -> mimes - > Components of your development component / project.
    To the value node set the url like the following way ...
    http://<hostname>:<port number>/webdynpro/resources/image.gif
    Thanks
    Madhu

  • Incomplete text displayed in interactive ADOBE form

    Hi Guys,
                 I have an interactive adobe form where a drop down will display "EQUIPMENT NO" W.R.T to the selection screen i/p
    uporn selection of the "equipment number"  the "EQUIPMENT NAME"field automatically populates.
    I used to get an error message "Entry is too long",
    got rid of it by setting the value of TYPE property of attribue to "MAXLENGTH" , uporn doing this the drop down and the discription text is displaying only  last 3 char of the values.
    I tried increasing the size/characters of the fields in the table in the form but was of no use. Any inputs will be Appreciated

    Yes I have checked all the subforms Flowed. Text field is working good in Preview Pdf Option of NWDS.
    But when I generate the pdf on server, when TextField flows to next page, on next page it repeats from first line.

  • Percentage field in Adobe forms

    Hi
    I have a requirement to display a percentage field with 2 decimal places in an Adobe form e.g. 75.00%.
    The field has been declared as type ANZHL (DEC Length=7 Decimals=2) in a data dictionary structure.
    When debugging the controlling program and the actual function module generated for the form itself the contents of the field is 75.00.
    In the layout of the form the field has been created as a Decimal field with Display pattern and Data pattern of num{zzzz9.zz%}.
    However, when the form is previewed or printed the field is displayed as 7500%.
    Does anyone have any idea how to fix this?
    Thanks

    Hello
    I know this is quite old topic, but for future reference another solution is to use '%' in the pattern.
    For example:
    you have decimal value 75.00,
         - when using pattern num{zz.99%}, it will output 7500%
         - when using pattern num{zz.99 '%'}, it will output % as a string, and the whole output will be 75.00 %
    So in second case you don't need any extra (floating or text) field to have percentage in.

  • Numeric Field in Adobe Form

    Hi,
    I'm trying to display a numeric field in an Adobe Form. The issue is that the decimal part of the the field  is getting truncated when I view the Adobe Form in Print Preview.
    The numeric field is of the form -6,213.19. In the form the value appears as -6,213.1 . I'm not able to understand why this value is getting truncated. I've tried all the numeric and decimal patters available but with no luck.
    Could you please help me to resolve this issue.
    Thanks,
    Sandeep.

    Hi
           You dont specify any patterns. You just simply drag and drop the Numeric field on the layout and then right click on the field
    go to Pallets -> Object -> Value tab -> here you specify your value  -6,213.19.->In Binding tab -> Data format as Float. and then check the priview in PDF its printing the same as -6,213.19.
    Try this once. It will work i checked it . Its working
    Thanks
    Sriiiiiiii(Srikanth)

  • Update fields from Adobe Form to Table

    Hello,
    I want to integrate Adobe Form into Webdynpro ABAP Application in which I want to have 2 fields which need to be updated to a DB Table.
    For this first I created an Interface in Transaction SFP , added 2 import parameters of type <Table Type>-<FieldName>. Then I created a Webdynpro Component created a new I Interactive Form UI Element and binded the Context of the Form to the Interface.
    Then I added 2 fields to the form from Data View . Everything is fine but when I run the Webdynpro Application the fields are not available for Input.i.e. They are in the ReadOnly Mode.
    The 'enabled' property of the Interactive Form is checked.
    Please help.
    Any help would be highly appreciated.
    Thanks.
    Edited by: SAPEPDeveloper on Feb 7, 2011 11:45 PM

    Hi,
    The process explained is ok, but I can explain you a better way.
    1) Create the webDynpro Component first.
    2) Create the context nodes as per the requirement.
    3) From the 'integration' panel drag and drop the Interactive form UI element into the view.
    4) Bind dataSource to root context node.
    5) Check enabled property true.
    6) Give a template source name (ZName).
    7) On double clicking the template source, system will prompt you to enter the interface name. Map context node to the interface.
    8) Interface gets created automatically and the lifecycle designer gets opened.
    9) Goto the properties tab and give layout type as 'ZCI Layout'
    10) Drag and drop required fields from the data view to the layout designer.
    11) Insert webdynpro script from the Utilities
    12) Edit -> Form Properties -> Defaults -> XDP Preview Format should be dynamic
    13) Drag and drop 'Submit Button' from Library palette -> Webdynpro native controls
    On clicking the submit button at runtime you will get the control in the webdynpro submit event.
    Above all these you have to check with your basis team, that the 'usage credentials' have been applied while configuring the ADS. Go to SE38 and run the program 'FP_TEST_IA_01' and check whether it is giving an error message or not.
    Hope this Helps.
    Thanks & Regards,
    Sanoosh

  • Hiding Windows, fields in adobe forms

    Hello,
    I am new to adobe forms and presently working on one requirement.
    My form got 3 pages, on first page i have one table. i) If the table contains only one row i have to hide the entire page.
    ii) On the second page i have Po details and on third page I have SO and FI details. If the tables for PO, SO or FI are empty i need to hide the windows.
    iii) Current Page/ total Page no : This field needs to be displayed from second page and once the form repeats for another input value these two needs to be initialized and start counting based on the data extension to multiple pages. Presently printing starting from 1st page.
    I have all the flags First_page_flag, Second_page_flag, third_page_so and third_page_Fi flags controlled from print program and are available in the context menu but not on the LAYOUT.
    I also tried the following code to hide the page but it didn't work out: (Initialize)
    var pdisplay = xfa.resolveNode("Table_PO[*]");
    if(pdisplay.value == NULL)
    pdisplay.presence = "hidden";
    I could able to hide the windows, subforms and fields with out the flag check via java scripting.
    this.presence = "hidden"; but don't know how to use these flags in script editor to hide all these.
    Can any one help me to achieve these functionalities for which i will be so thankful to you.
    Best Regards,
    Naresh.

    Hi Vibhav, Hi Aravind,
    I closed my layout and run the program. But still getting the same error.
    For Tables in PAGE 2 and PAGE 3
    Anyways I could able to hide the TABLES (Sub forms - Page 2 & 3) now by including and hiding the flags(WV_SDISPLAY, WV_FDISPLAY) in the respective subforms. I have used the following JAVA scripting to achieve this in initialization event:
    if(this.WV_SDISPLAY.rawValue = "X")      
    this.presence = "hidden".
    For PAGE hide:
    But, in my requirement i have to hide the FIRST PAGE and not the TABLE, if the table(subform) containes one row. I set a flag wv_idisplay in the program. Now if i include this flag under this table and follow the same JAVA scripting mentioned above it is not working.  
    if(this.WV_IDISPLAY.rawValue = "X")
    this.presence = "hidden".
    Also, from some of the threads and by the comments of Gold Otto, I could understand that, to hide a Master page, i need to put the condition on it's associated subform and i am proceeding with this logic. 
    Could you please help me if this is not the correct approach. Also, request you to send me some sample Java Script to hide a PAGE.
    Thank You,
    Regards,
    Naresh.

Maybe you are looking for