Help regarding radiobutton text in Adobe Forms

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="nodes">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" name="node">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PName" type="xs:string" />
              <xs:element name="IsRegistered" type="xs:boolean"  />
              <xs:element name="Gender" maxOccurs="unbounded" type="GenderType" />
              <xs:element name="QT" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="GenderType">
    <xs:restriction base="xs:string">
      <xs:pattern value="([A-Z,a-z])*" />
      <xs:minLength value="0" />
      <xs:maxLength value="6" />
      <xs:enumeration value="Male" />
      <xs:enumeration value="Female" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>
I’m trying to generate a PDF form using a schema(above) and xml file(based on this xsd) using LiveCycle Designer. I have embedded the xml schema in pdf file by creating a Data Connection using this xsd file. I can generate different type of form controls by importing the xml file(based on this xsd) in PDF file using Acrobat 9.0 menu Forms > Manage Form Data > Import Data.
What I can’t figure out is how can I generate radio button's text/label based on data in xml? The Gender enumeration that I have used becomes hardcoded in design time and there can’t be more radio buttons than that specified in the Gender enumeration in the xsd. Also even though I have specified the text for the radiobutton in the xsd I have to specify it again while designing the form using Adobe Live Cycle Designer. This is like hardcoding the radiobutton text during design time. How do i read the radiobutton text from the xsd file only ???
I want the number of radio buttons and their labels to be generated based on data
from xml.
For e.g. if my xml is:
<node>
<rbType>Option1</rbType>
<rbType>Option2</rbType>
<rbType>Option3</rbType>
</node>
,then there sould be 3 radio buttons with labels as Option1, Option2 and Option3. If there are only 2 'rbType' tags, then only 2 radio buttons with respective labels.
Any help\suggestions is appreciated. Thanx
Sunit.

Use
<b>
instead of
<strong>
See http://partners.adobe.com/public/developer/en/xml/xfa_spec_2_5.pdf -> Part 3 -> Rich Text Reference for a list of supported xhtml tags.
Sebastian

Similar Messages

  • Using formats of SO10 text in Adobe forms

    Hello guys,
    I got a question concerning the interaction of SO10 texts with adobe form text fields.
    I know there are some threads about it here, and I think I understand the default SAP behavior, but can you please confirm if I am right? Then I got a special question about one case.
    So is it right that there is only the difference between formatting the textfield itself in adobe form layout and adding a style to the text field in form context?
    This means:
    (1) Whenever in my text field in form context no style is added, the adobe form will take the formatting like it is done in the adobe form layout? This would mean that every format which is entered in the SO10 text is insignificant for the adobe form?
    (2) Whenever in my text field a style is added, SAP will use SO10 text formats? This means, SAP searches for the smartforms style which is entered in the textfield and uses the formats from SO10 text like they were defined in the smartforms style?
    Is this correct so far?
    Now the special questions:
    (1) What happens if a style is added, but the style does not exist as smartforms style. Which font etc. will be used then?
    (2) What happens if a style is added, but the format of SO10 text does not exist in the smartform style?
    In both cases it looks like SAP takes some "default" style, but where does it come from?
    Thanks a lot!
    Regards
    Michael

    Thanks Rakhi, but that did not resolve my issue. Below is new out as per the thread suggestion and this is not what I wanted.:
    "<H>Thank you for choosing Enterprise.</> We look forward to seeing you at 9:00 am on Monday,
    November 28, 2011. This message is to confirm you have updated your reservation.
    Following are the details for the updated reservation:
    P.S. Remember us when you're renting in town. Enterprise is always nearby at more than 6,500
    neighborhood locations."
    - shalini

  • How to create  search help for field in interactive adobe form

    HI
    I want to create search help for PERNR field in adobe form.
    how i can do it.
    Can any one giud me.
    Regards,
    Laxman Sankhla

    Hi Laxman,
    Please search SDN, there are lots of queries posted and solved earlier on this.
    especially there are step by step blogs.
    Cheers,
    Sai

  • Validate the radiobutton in interactive adobe form

    Hi All,
    right now iam working on the interactive adobe form where we can see the dropdown boxes and radiobuttons and some of the text fields. okay here i have issues on the radiobuttons to validate some data.
    exactly my issue is :
                         we have 3 radiobutton , if end user select the one of the radiobutton on the adobe form then the value in the drop down boxes will be automatically changes.
    how handle this type issues on the adobe form.
    Thanks,
    Ramana

    you can use the javascript or other scripting language there is on the element.
    Can't remember the name right now

  • Formatting Issues with SO10 text in Adobe forms

    Hi Everyone,
    I Have the below text maintained in SO10.
    "Thank you for choosing Enterprise.  We look forward to seeing you at 9:00 am on Monday, November 28, 2011.  This message is to confirm you have updated your reservation.  Following are the details for the updated reservation:
    P.S. Remember us when you're renting in town.  Enterprise is always nearby at more than 6,500 neighborhood locations."
    I have created an text module of type include text in Adobe form context. the text which has to be bold is not being displayed as bold and the line space after first paragraph is being skipped out and the 2nd paragraph is being displayed as the continuation of the first. The out put looks as below
    "Thank you for choosing Enterprise.  We look forward to seeing you at 9:00 am on Monday, November 28, 2011.  This message is to confirm you have updated your reservation.  Following are the details for the updated reservation: P.S. Remember us when you're renting in town.  Enterprise is always nearby at more than 6,500 neighborhood locations."
    I tried Styles using SE72 on the SO10 text. And I cannot assign smartform styles on SO10 text in Adobe forms.
    Greatly appreciate your suggestions and solutions.
    Thanks,
    shalini

    Thanks Rakhi, but that did not resolve my issue. Below is new out as per the thread suggestion and this is not what I wanted.:
    "<H>Thank you for choosing Enterprise.</> We look forward to seeing you at 9:00 am on Monday,
    November 28, 2011. This message is to confirm you have updated your reservation.
    Following are the details for the updated reservation:
    P.S. Remember us when you're renting in town. Enterprise is always nearby at more than 6,500
    neighborhood locations."
    - shalini

  • Standard Text IN ADOBE Forms

    Hi,
    Can you tell me how to use standard text in ADOBE forms,
    and how to fetch A Customs Tariff Number or an HTS (Harmonized Tariff System)
    from other system.

    Hi Oliver,
    I believe you standard text is a table type of TDLINES.
    On the form you would display it with a table of 1 column 1 row with repeat row ticked.
    Have the like below code on the fomr ready event of your table.
    for(var i =0; i<this.Row1.nodes.length;i++)
         if(i == 1){
         this.Row1.Cell1.font.fill.color.value = "255,0,0";
         this.Row1.xx.font.fill.color.value = "255,0,0";
    Note: in my example I had a table with one row names Row1 and 2 fields cell1 type textbox,  & xx as text / label.
    If its like you have it in a text box with multiple entries, we need to spli the value such that 1st row is displayed in a text box whose parameters are by defeult set to font red, and rest of them to this text area.
    If your procedure is table the code sud work, else let me know how you get data and how do you display it on the screen.
    Cheers,
    Sai

  • Can I color a line of "standard text" in adobe forms output?

    Simple question: Can I color a line of "standard text" in adobe forms output?
    My standard text (SO10) has multiple lines. 
    Can I make one of the lines red?
    Ollie

    Hi Oliver,
    I believe you standard text is a table type of TDLINES.
    On the form you would display it with a table of 1 column 1 row with repeat row ticked.
    Have the like below code on the fomr ready event of your table.
    for(var i =0; i<this.Row1.nodes.length;i++)
         if(i == 1){
         this.Row1.Cell1.font.fill.color.value = "255,0,0";
         this.Row1.xx.font.fill.color.value = "255,0,0";
    Note: in my example I had a table with one row names Row1 and 2 fields cell1 type textbox,  & xx as text / label.
    If its like you have it in a text box with multiple entries, we need to spli the value such that 1st row is displayed in a text box whose parameters are by defeult set to font red, and rest of them to this text area.
    If your procedure is table the code sud work, else let me know how you get data and how do you display it on the screen.
    Cheers,
    Sai

  • Static text in Adobe forms

    Hello Experts,
    I have requirement to create a adobe form which have 90% of static text .I want to know to display those text should i go with standard text(SO10) ot should i directly display it in text-field on the form layout.Or there is any other way to display.
    Which is best? Kindly suggest.
    Thank you,
    Shweta

    Hi Shweta,
    I started working on adobe in late 2010. I prefer and would personally go for SO10 instead of adding  text in text-field. Adding texts under one TextName would give a clear picture for further enhancements instead of adding the texts one by one in text fields.
    We do have a Wiki on SCN about adding static texts to adobe forms using SO10.  Here it goes:
    [Using of Standard Text (SO10) in Adobe Form|http://wiki.sdn.sap.com/wiki/display/ABAP/UsingofStandardText(SO10)+inAdobe+Form]

  • Trouble with xhtml text in adobe forms

    Hellow!
    I try to show xhtml text in adobe forms
    I pass string as text value to element like this::
    <html  xmlns="http://www.w3.org/1999/xhtml"
    xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="2.4.5325.0">
    <body> <p>Hellow, world!</p></body></html>
    Next, in Initialization text element event I do next: 
    $.value.#exData.loadXML($)
    So In adobe form I see text "Hellow world", it means that html support works.
    But
    If a Pass Next text
    <html  xmlns="http://www.w3.org/1999/xhtml"
    xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="2.4.5325.0">
    <body> <p><strong>Hellow
    </strong>world!</p></body></html>
    I see only "world!". Text between <stromg></strong> tag dosn't display.
    What I do wrong? Why xhtml text works, but it don't understand <strong></strong> text?
    (The value I get from WEB DynPro application)
    Edited by: Mordyasov Petr on Jul 16, 2010 9:43 PM

    Use
    <b>
    instead of
    <strong>
    See http://partners.adobe.com/public/developer/en/xml/xfa_spec_2_5.pdf -> Part 3 -> Rich Text Reference for a list of supported xhtml tags.
    Sebastian

  • Dynamic Text in Adobe forms

    hi all,
    I am working o adobe forms, i have to print a paragraph text which has both dymanic and static elemets in it. By putting all the text in a static text it works fine, but allignment does not happen properly.
    do we have something like  &.....& we have in smartforms.???
    I saw in a example in which  the variable was used  as  { } and that was dynamically filled at run-time... but i am not able to do  the same...may be i am missing some settings or something...
    Any help will be appreciated....in this regard.

    hi
    Check this
    Difference between Smart Forms and Adobe Form
    Re: Smart Forms & Adobe Forms
    Adobe forms
    /message/4983958#4983958 [original link is broken]
    Re: adobe forms
    adobe forms
    adobe forms
    adobe forms

  • Copy sections of text in Adobe form crashes the Adobe reader/IE 8

    Hi,
    I have generated a PDF form and showing it in the browser(IE8) when a user clicks on a button in CRM UI.
    When I try to copy a section of text in the generated form, the browser crashes. Also, If i try to copy sections of text from the from opened in adobe reader 9, reader too crashes.
    Apparently this does not happen with all forms generated out of SAP. I have already checked the fonts used in the form and they just look fine. I generated the same form in SFP transaction without data and were able to copy the text from the form.
    Kindly help with a solution to this.
    Regards,
    ArulJothi A

    Because Adobe Reader for Windows 8 Tablets is intended primarily for Touch-enabled devices, it's much easier to select text by the press-and-hold gesture.
    Since you mentioned "using a desktop PC", I assume that you are trying to select text using a mouse. You can double-click a word with a mouse first. Two grabbers (handles with two circles) and the Copy menu will appear on the screen.
    Once you set selection using the grabbers, you can click the Copy menu item.  At this point, the selected text is copied to Windows clipboard. Then, you can paste it to somewhere else such as Notepad using Ctrl+V (keyboard shortcut) or selecting Paste from a context menu.
    The current text selection behavior is not very intuitive nor natural to Windows desktop users.  We are looking into improving it in a future release.

  • How to change Dunning Text in Adobe form

    Hi All,
    In Dunning Adobe form I need to replace standard dunning text with my custom text.
    I found the node for that, but in that text node I am not able to fond where from that text is coming.
    Please Help me out in this.
    Form Name :f150_Dunn_SF(Adobe form)

    And you checked the context of your form if there is a text node there with some properties and didn´t find anything? Start there and tell us what you have found there.
    Otto

  • How to display Formatted text in adobe form

    In adobe form, I want to display the text which is inputed by formatted text edit in WD ABAP application.
    It is always displayed as plain text like '<p>this is test text.</p>'. I have set the attribute Data Format to XHTML, Field Format to Rich Text for the Text Field in adobe form. But it doesn't work.
    How to display these formatted text?
    Thanks and Best Regards,
    Jun

    Hi Juergen,
    I found Your blog and found it  really interesting... though I was not able to use it: I (like Jun Li is asking, I guess) need to use a dynamic text, containing formatting informations (according the xhtml syntax).
    I tried to pass it to the form by an ABAP-dictionary based interface and by means of the context (in a webdynpro page), but both tries failed.
    Some suggestion will be greatly appreciated.
    Thankyou
    Simone

  • How to include text in Adobe Form

    Hi all,
    I am using adobe designer of ABAP workbench to design PDF form. Anyone has idea of how to include text in the form as what we often do on SAPSCRIPT and smarforms?
    Thanks in advance.

    hi,
        Got exact solution from this link - http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/400f06f3-cc2c-2c10-77ab-a98d2cfc194c&overridelayout=true
    Regards,
    Vinod

  • Searh help in ABAP webdynpro with Adobe form is flickering/blinking

    All,
    I have an WDA that has an interactive Adobe form for input. I'm calling the SAP standard search helps when clicked for value helps from the Adobe interactive form that opens up the search helps pop-ups in the web-dynpro style. But strangely, the portion of the search help pop-up window that is just over the Adobe interactive form is always flickering/blinking whenever something is typed or moved on the search help pop-up window. This seems to be a standard bug/issue with SAP. Has anyone encountered the same issue and have found a solution to that?
    Regards,
    Sam

    hi rock,
         try this: sometimes any event might be calle din the backend which is overrirding your adobe form which is causing you the flickering. check it
    ---regards,
       Alex B Justin

Maybe you are looking for

  • Who knows a Std. global data type for vendor bank details (ESR modelling) ?

    Hi, we are going to design some simple partner in ESR to be implemented in different backends using SAp global data types. What i cannot find anywhere in there is a structure containing the standard fields of customer / vendor bank details. As this i

  • Can I lock Regions in place?

    Hi, can anyone tell me if its possible to some how lock regions in place on the arranger so they cannot be moved accidentally?

  • Keyboard not responding while installing Windows XP sevice pack 2

    Hi, I am new to macworld, Just got Macbook and try to use bootcamp to install windows xp, but keyboard did not respond hence got stuck at this point. Please help me. how to make keyboard working while installing windows xp using bootcamp. I know that

  • Reg JCO Connector download and advice

    HI friends... using  service user name i can downlaod the JCO connector ? my doubt is shall i use the same JCO connector in some other server (Other customer) for installation purpose ? and also JCO connector downlaod in market place is free of cost

  • JDBC 2.0 help

    try      Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"); Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Test;User=usr;Password=secret"); Statement stmt = con.createStatement(ResultS