Displaying radio buttons with dynamic subforms between 2 radio buttons

I am very new to Adobe Designer/Form Server and had the following question.
Our form is going to have the following display
Radio A
Radio B
Radio B1
List of text boxes
Radio B2
Radio C
Radio C1
List of text boxes
Radio C2
When the form is first displayed, user sees Radio A, Radio B and Radio C, right below each other. When the user selects Radio B, Radio B1 and Radio B2 should appear, and the Radio C should 'slide' down to accomodate Radio B1 and B2.
Similarly, when the user clicks Radio B1, List of text boxes should appear and Radio B2 should 'slide' down to accomodate those text boxes.
Is this possible? Can anyone please send me a sample code/design?
Thanks

Well I got the form to work by copying the Options List Java Script code in change to docReady and adding if(this.rawValue==0).  This produces the result that I need.
To clean this up I would like to put this code in a Script Object so I can use the same code in both change and docReady.  I’m not a programmer so I’m not sure what additional code I have to put in the Script Object and what code I have to put in change and docReady to use the Script Object.  Any assistance would be greatly appreciated.
Thank you.

Similar Messages

  • Display the results with a delay between each

    I am very new to java and using NetBeans 5.
    I want to display the results of different methods in a JtextArea with a delay between each output to the JtextArea.
    I have tried Timer with no success.
    Please could some one point me in the right direction
    Thanks

    I have tried Timer with no success.Such a vague description of the problem its to recommend an approach.
    Using a Timer is always a good approach.
    Otherwise make sure you execute the long running code in a Separate Thread and then use SwingUtilities.invokeLater(..) when you need to update the GUI. Here is a simple example using this approach:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=621226

  • How to display Radio buttons with default selection on

    Hi
    I want to display Radio buttons using jsf
    i have done it using
    <h:dataTable id="apartmentList" value="#{userBean.allApartmentList}"
                   var="apartments">
                   <h:column>
                        <h:selectOneRadio id="selectedApartment" onclick="javascript:setSelectedApartment(this);">
                             <f:selectItem itemValue="#{apartments.apartmentVO.apartmentId}" />
                        </h:selectOneRadio>
                   </h:column>
    inside a data table
    now when i click some page i want to display the radio's with default radio button selected
    also when i select one radio button and click on some command button
    eg:<h:commandButton action="#{userBean.setSelectedApartment}"
    the Radio button's Selection should not disappear
    i have written a javaScript
    function setSelectedApartment(oRadio)
              oForm = oRadio.form;
              elems=oForm.elements;          
              for(iIndex=0;iIndex<elems.length;iIndex++)
                   if(elems[iIndex].type == 'radio')
                        if(elems[iIndex].name != oRadio.name)
                             elems[iIndex].checked=false;
              document.getElementById("apartmentListForm:selectedApartmentId").value=oRadio.value;
    To check which Raio button is Selected
    How do i show the Default Selected button and How the selection should not disappear
    Can any one suggest me links or the solution to this problem
    Thank you
    Geetanjalee

    -set the value binding expression of select items to a request scope bean
    - on the page load event() ,do
    setdefaultval("ur default value")
    so each time on the page load it sets the default value. and you can get selected value by getdefaultval()
    --raju                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Creating a Dynamic Subform with Add button

    I am working in LiveCycle ES and I am trying to create a form that will have a user inputed heading that will show at the top of each page along with dynamically added subforms and can not seem to get the button to dynamically replicate the sub form to work.  I have the form saved as a dynamic pdf and the subforms are set to flow.  Any help would be appreciated.  I can send form if it will help.
    Thanks

    I am having the exact same problem.  The subform I want to duplicate is not a table.  I had to wrap my subform in another subform to maintain the position of the fields.  The button is contained in the larger subform, which is set to flow.  My hieracrchy looks like this:
    DateGridSubform (this subform is set to flow)
         DataGrid
              (various subform fields)
    AddButton (this subform is set to positioned)
    Any assistance available would be greatly appreciated.

  • How to display data in table with dynamic rows, section wise in a page.

    Hello all,
    I work on report creation in BI Publisher where I need to display data from xml in a table in pdf format.The output page is divided into two vertical sections , containing tables, with exactly same columns on left and right sections. The number of rows in table depends on the output of the fetching query. The page is to be populated in such a way that, at first, the left table is populated, then the next rows fill up the table on the right section of the page, if more rows are left, they fill up the tables on next page[first the left table, and then the right one, in a similar fashion as in page 1]
    On a bird's eye view, the data needs to be simply mapped to a table, with dynamic number of rows, and so can span number of pages depending on size of data. On a implementation level, I am stuck in getting the left section of the page populated first, then the right section[in place of the right page], and then the next page.
    Please guide me if someone has any idea in getting this achieved.
    Thanks in advance.

    Thanks for the response...
    I am able to get the desired functionality. I just need the tables to be inside a bigger table, that also has a dividing line between the two columns. This is was is intended in the req. provided to me. The column formatting option provides me a line ,but that is not further modifiable .Please help me in getting a perpendicular line between the two columns, which I need to be of a specified width and color.

  • I'm trying to set up a dual monitor for my new iMac. I'm using a second display I used with my old G5. My iMac recognizes the second monitor but the monitor won't turn on. Power button doesn't do anything on the monitor itself.

    I'm trying to set up a dual monitor for my new iMac. I'm using a second display I used with my old G5. My iMac recognizes the second monitor but the monitor won't turn on. Power button doesn't do anything on the monitor itself.

    If it won't turn on then the monitor is dead (power supply?, video circuits?).  Not worth repairing.
    If you have a new iMac then it has thunderbolt.  So exactly what is that monitor you are trying to connect?  For TB you can connect a mini-displayport monitor.   Probably (not 100% sure with TB) can use dvi or vga too if you have the appropriate adapter.

  • How to display data with dynamic columns in JavaServerFaces?

    I have a simple JSF application, where I click a button, it will display another page with data table of 2 columns and 3 rows of data. These data are �hard coded� for testing only.
    In the jsp I will use like this:-
    <h:dataTable
    value="#{dataBean.users}"
    var="record">
    <h:column>
    <h:outputText value="#{record.name}"/>
    </h:column>
    <h:column>
    <h:outputText value="#{record.title}"/>
    </h:column>
    </h:dataTable>
    Let�s say, if my data cannot be defined in advance in terms of quantity and names, how should I write my jsp and how should I define in java program?
    For example, instead of the columns �name� and �title� as in above, I will know the column names and the number of columns at run time, how should I do?

    You need a custom component in this case. There afew out there, you may want to check what is out there before you write your own

  • Displaying a Blob with a Dynamic Page

    A dynamic page was created where one of the columns on the database table is a BLOB. The following error is received when trying to query the column from the dynamic page:
    : Unable to execute query (WWV-10201)
    The preference path does not exist:
    ORACLE.WEBVIEW.PARAMETERS.1093150906 (WWC-51000
    FYI - when running a similar query from a form component, the blob displays fine. This problem occurs only with dynamic page components.

    Hi,
    What version of Portal are you using ??
    Have you tried using reports like QBE,Wizard or SQL rfor displaying Intermedia Objects.
    Thanks,
    Anu

  • How to call javascript function with dynamic data in display tag

    Hi,
    Iam new to pagination concept. Iam using display tag to display rows in jsp by strtus.
    I have a problem when calling the javascript function using ahref in attribute in display tag.
    <bean:define name="form1" property="EditDetails.List" id="ListDisplay"/>
    <display:table name="pageScope.ListDisplay" cellpadding="0" cellspacing="1" pagesize="10" partialList="false" size="listSize" requestURI="">
    <display:column property="poNo" href='javascript:searchEditDetails("./submitOrder.do? actionID=getMISLoadEdit&poNumberSel=<%=((com.po.bean.EditDetails)poListDisplay).getNo()%>&statusIdSelected=<%=((com.po.bean.EditDetails)ListDisplay).getStatusId()%>")'
    title="Number"/>                         
    <display:column property="strDate"title="Date" />
    <display:column property="orderValue"title="Order Value(INR)"/>
    <display:column property="stringRequestedDeliveryDate"title="Suggested Delivery Date"/>
    <display:column property="statusDescription" title="Status" />
    </display:table>
    The above code display the data in row format is working fine when I click the No It thow javascript error and its not redirecting to the other page.
    When I try this with ordinary struts its working fine the code is:
    <logic:iterate id="polist" name="Form1" property="EditDetails.List" indexId="i" type="com.bean.EditDetails">
    <tr>
    <td ><a href="javascript:searchEditDetails("./submitOrder.do?actionID=getMISLoadEdit&NumberSel=<%=((com.bean.EditDetails)polist).getNo()%>&statusIdSelected=<%=((com.bean.EditDetails)polist).getStatusId()%>")"><html:hidden name="polist" property="No" write="true" /></a>     </td>
    <td><html:hidden name="polist" property="strDate" write="true" /></td>
    <td><html:hidden name="polist" property="orderValue" write="true" /></td>
    <td><html:hidden name="polist" property="stringRequestedDeliveryDate" write="true" />     </td>
    <td><html:hidden name="polist" property="statusDescription" write="true" /></td>
    </tr>
    </logic:iterate>
    Please help me how to call javascript with dynamic data.
    Thanks in advance

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

  • Xcelsius Engage: Issue with dynamic visibilty of data in dashboard

    Hi,
    We have a requirement for a dashboard where data for 5 Sites need to be displayed as per 17 KPIs and 12 different rolling months.
    Raw sample data looks like below-
    SITE  KPI        ActYTD  Act(Pre Month) PlanYTD  Plan(Prev Month)  VarianceYTD Variance(Pre Month)
    A       On-Time   76.7         82.92                  111.50       109.50             -1                    -1
    B       Delay       73.70       80.00                   79.75        77.75             -1                     1
    There are 5 different Sites and 17 different KPIs.
    Based on the raw data that we get from BI (7.0 query output), we manipulate it in MS excel, using some lookups and formulae to obtain certain values, store them in designated sheets and then Xcelsius (different components) use these sheets as source.
    We are having three levels of navigation-
    1. Main screen listing all KPIs site wise and months ( the site and months could be selected from Combo boxes at the top). The KPIs are bind to a list view, each row is a selectable KPI leading to level two navigation.
    2. Level two contains the details for each KPI ( values and trend chart). Selection in the chart for a Site leads to level 3 navigation.
    3. Level 3 screen contains data by KPI and by Site for 12 rolling months ( The sites could be changed from a drop-down).
    There are custom navigation buttons (home/back) to enable navigations between the screens.
    We are using 3 panel containers, 2 list views, 4-5 combo boxes and some hidden button ( with dynamic visibilty).
    The workbook has 8-9 different sheets, though the Xcelsius componets are bound to only 3 sheets.
    Things work fine till we select 14th KPI , but Xcelsius starts behaving awkwardly when we select 15th KPI and further.For the selected KPI, the level two screen would load for a flash of a second and then the control comes back to level 1 screen. We do not face this issue till 14th KPI.
    In-order to eliminate possibiltes we did the following-
    1. Changed the order of KPIs - issue persists
    2. Changed the Excel option " Max. no of Rows" to 4000- issue persists
    3. Decreased the amount of data to be loaded - issue persists ( though at max we are loading data for 2000 rows)
    4. Decreased the no. of KPIs to 14 in level 1 list view - all works fine.
    We have not noticed any gradual decrease in performance/load time till 14th KPI but everything goes for a toss when the 15th KPI is displayed.
    We are on the latest Xcelsius patch ( patch 3).
    We would appreciate any pointers/help to resolve this issue.
    Thanks in advance for your time.
    Best Regards,
    Bansi.

    How many total rows are you dealing with in your spreadsheet?
    -Dell

  • Problem with Dynamic Node & UI Elements

    Hi,
                                            The scenario is to create an Questioaire.Since the number questions which I get from R/3 may vary, I have created the Dynamic Node which is mapped with Dynamic set of Radio button Group by index for options & Dynamic text view for displaying Questions..  A New Dynamic Node will be created for each set of Questions .The Number of questions displayed per page is controlled by the Static Counter Variable....
                                              Now the issue is ,if i click back button the count will be initialized so again it needs to trigger the DoModifyView(). at that time It is arising an exception "Duplicate ID for view & Radio button ..." because while creating Dynamic node i used to have "i" value along the Creation of node name...
    for(i=Count;i<i<wdContext.nodeQuestions().size();i++)
                   customnod=<b>nodeinfo.getChild("Questionaire"+i);</b>
                        if(customnod==null)
    Its not possible to create a new node whenever i click the Back button.
    At the same time i am not able to fetch the elements which had already created Dynamically...
    How do i make the Next & back button work?
    If anyone  bring me the solution It would be more helpful to me.
    Thanks in advance..
    Regards,
    Malar

    Hi,
          We can Loop through the Node Elements but how can we do Option Button Creation for each set of question Options?. At design time we can not have the radio buttons,because we do not know how many set of questions are available at the Backend.

  • TS1538 I was attempting to update iphone 4s today, laptop went flat during the last stages. The iphone now only displays USB cord, with an arrow pointing towards iTunes emblem. iTunes will not accept/read the iphone. HELP??

    I was attempting to update iphone 4s today, laptop went flat during the last stages. The iphone now only displays USB cord, with an arrow pointing towards iTunes emblem. iTunes will not accept/read the iphone. HELP??                   

    If you have the latest version of iTunes you should not have to download the ipsw file separately as jalp suggests. iTunes will download it automatically.
    This error (9) most often means that your antivirus or firewall (or router) is blocking access to Apple's servers. In rare instances it can also mean that the phone was hacked (or "jailbroken") to unlock it. If this is the case you must do a DFU restore, not Recovery Mode, as follows:
    Reboot your computer
    Disable your antivirus and firewall. If you has Kaspersky you may actually have to uninstall it, as it can never be turned completely off.
    Connect the USB cable to a USB port directly on your computer, not to a hub. DO NOT connect the other end to the phone
    Disconnect all USB devices except for mouse, keyboard and iPhone cable.
    Launch iTunes
    On the phone hold the HOME and SLEEP buttons at the same time for EXACTLY 10 seconds, then release the SLEEP button but continue holding the HOME button. The screen should be black. If it has an Apple logo this means you held both buttons too long. Release the HOME button and do it again.
    While holding the HOME button connect the free end of the cable to the phone.
    After a short while iTunes should recognize a phone in "recovery mode" (iTunes doesn't know the difference between DFU and Recovery modes, but the phone does)
    Release the HOME button and don't touch the phone or the computer until the process completes or you get an error message. Ignore any displays on the phone.
    If the error recurs the phone was probably messed up when it was hacked. This is not a hardware problem, or if it is, it isn't one you can fix.
    You can try repeating these steps with a different computer and a different cable. If that fails also the phone is probably not repairable.

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

  • Problem in displaying applet by using dynamic graphics

    Hi,
    I followed one document for using dynamic graphics editor, the url is
    /people/abesh.bhattacharjee/blog/2007/02/27/get-started-with-dynamic-graphics-in-xmii-115 by Abesh Bhattacharjee.
    The steps are as follows:
    1). Create the tag query
    2). Preparing the 3DDialGauge Object
    3). Creating the BLS Transaction
    4). Creating an Xacute Query for the BLS Transaction
    5). Creating the HTML Page with help of applet.
    In this HTML page we get that image and also 2 buttons.
    Finally we have to get the object designed in step 2 above and it has to change dynamically and refresh the image by pressing one buttons and the other button is to stop the refresh.
    Now i am getting the image and 2 buttons as output of that HTML page but the problem is the image is getting refreshed continously without getting proper display and i am pressing the buttons it is not stopping the refresh and the warning message i am getting is
    document.TransFanSpeed is null or not an object
    and the object is not changing according to the dynamic value please can anyone help me in resolving this problem.

    Hi shyam,
    The html file is as follows:
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="../../../../ServletExec AS/se-xMII/webapps/default/Lighthammer/Stylesheets/lighthammer.css"><br />
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    <APPLET NAME="TransFanSpeed" WIDTH="300" HEIGHT="300" CODE="iCommand" CODEBASE="../Classes" ARCHIVE="illum8.zip" MAYSCRIPT><br />
    <PARAM NAME="QueryTemplate" VALUE="C:/Lighthammer/Illuminator/Templates/Training/SVGexampleXacutequery"><br />
    </APPLET><br />
    </head>
    <body>
    <img src="../../Fan1.jpg" name="refresh"><p></p>
    <button onclick="javascript:doit()">Do it !!!</button>
    <button onclick="javascript:clearit()">Clear Timeout</button>
    <script language="javascript">
    var Time;
    var imagename;
    var tmp;
    function doit(){
    executeQry();
    imagename = "Fan1.jpg";
    tmp = new Date();
    tmp = "?"+tmp.getTime();
    document.images["refresh"].src = imagename+tmp;
    Time = setTimeout("doit()", 1000);
    function clearit(){
    clearTimeout(Time);
    function executeQry(){
    document.TransFanSpeed.executeCommand();
    </script>
    </body>
    </html>
    and the iCommand.java is nothing but internal one there i didn't written any code
    Message was edited by:
            RAJESH PERLA

  • Any help with dynamically updating spry attributes?

    I am trying to use Spry validation fields for a dynamically
    validated form using javascript. I have two key problems:
    1. The .reset() method for spry fields seems to work only if
    invoked from a function associated with the onclick handler of a
    form button: if I call the method from a function triggered by the
    onblur handler of a field it has no effect.. strange!
    2. I can find no way to change whether a spry field is
    mandatory without reloading the page and invoking the constuctor
    again.
    If anyone has any ideas to tackle either issue I would be
    extremely grateful!!
    Jon

    Right, I realize that now, but that would require deleting the current dynamically linked After Effects project, right?
    Also, I think the solution to my problem would be found if I could find a way to remove the dynamic link between After Effects and Premiere. Any ideas?

Maybe you are looking for

  • Windows 8 Upgrade on Satellite P100-160 - No Sound

    Hello everyone. I own a Satellite P100-160 {http://www.toshiba.co.uk/discontinued-products/satellite-p100-160/} I decided to upgrade the machine from Windows Vista to Windows 8. The machine works o.k. apart from the fact there is no longer any sound.

  • Crystal reports printing in dot matrix printer

    I'm using Crystal Reports 2008 with Visual Basic.Net 2008. The problem is that when i print the report in a laser printer, everything is good, but when i used dot matrix printer (like Epson LX 300+), reports is printed smaller than original, doesn't

  • UIManager.look and feel buttons or javax.swing

    Hey, i want to use the ok, cancel etc. button that you get in a JFileChooser or a JOptionPane. Can they be found in the UIManager or in the javax.swing? i tried to extract them from the JFileChooser by: JFileChooser chooser = new JFileChooser("/"); /

  • Data point display when mouse hovers over data point in TCODE QGC1

    Hi experts, Just want to ask if anyone knows how to add more data in the display when your mouse hovers over the data point in the control chart of transaction QGC1? Because currently the control chart shows u201CSeriesu201D and u201CValueu201D, Iu20

  • How can i know the home directory of my runtime report on registry

    Dear sirs, please how can i know the home directory of my runtime report on registry? i have a lot of homes and when i make file to modify the home directory it not done and that is mean that i make effect of another home, and i want to know which ho