Multiple forms and af:panelPage

I need several forms inside one af:panelPage component. I want the forms to submit when the Enter key is pressed. The form submission gets very confused when I have nested forms, but if I don't have a form around the af:panelPage, then none of the global buttons are rendered properly.
I'm using ADF Faces EA11.
Any suggestions?
Thanks.

I know you can't nest forms, but I was trying various things to get the buttons to work. Your suggestion of putting a form around just the global buttons worked - thanks.
As for why I need multiple forms, it really has to do with wanting the forms to submit when you press enter and with validation control. It seems that most browsers will properly do this when the form has a single entry box on it.
On my page, I have a display of items (in a table) and above the table I have two areas for quick access to "items." There is a field to enter an item Id with a "show item" button and a field to enter search text and "quick search" button. Since the user already has their hands on the keyboard to enter the ID or search text, I wanted to enable the form submit when they press enter.
The fields need to be on separate forms so the field validations aren't performed improperly. For example, each field (ID and search text) is marked as required. However, the field is only required for its specific function. Thus, if the user enters some search text and presses Search, I don't want them to see an error message saying that the "item ID is required." since it's only required for the "show item" function.
As long as the new "subform" feature properly supports validation only on elements of the subform that was submitted, it might do the job.
Thanks for the quick response on this.

Similar Messages

  • Merging multiple forms and having shared fields

    I am designing multiple forms for a client for application purposes.  There are about 40 forms in all. Client is designing a online helper that will help users download only the forms they need for their application.  So once that is decided, then we are giving them a download link for required forms only. In the end client will print the forms and submit them manually. (I know it could be done better, but not yet) There will be about 16-17 different combinations of forms.
    Thing is, many of these forms have repetitive fields (name, address, phone, email, etc), so we would REALLY like to have it so that once filled out, those fields could quickly populate all the rest of the remaining forms. (does that make sense?)
    I have had a couple ideas on how to accomplish this
    1) Magic
    2) Combined all required forms into one large PDF.  Make the 16-17 possible combinations and then just set them all up manually.
         Problem is that if Form 6 changes, it may change in 10 different packages.  I don't want to do that manually every time there is a change
    3) Somehow use Adobe Livecycle to piar the fields up in the different docs, and have them all linked. (think that is impossible, hense #1)
    4) Your suggestion?
    Thanks in advanced.
    Ask any questions you may need.

    The templates/PDFs designed in LC are primarily can not talk to each other. But we can make them pull and save the information stored in Database through LC workflow. Which will give them ability to transfer data between using SOAP (we can activate these SOAP transfers on certain events or on user actions). But that involves User acknowledging each time the data transfer activated (of-course there is an option to remember the user action and never ask the user but it is controlled by user). Things get complicated once you start in this direction. However we use this technique in our internal environment.

  • Problem with multiple forms and subview

    I have a problem when using NetBean Web Pack (JDK6, Net Beans 5.5, JSF 1.2).
    1) I created a JSF page (hello.jsp) and a page fragment (header.jspf) inside Web Pack, and let the JSF page (hello.jsp) includes the page fragment.
    2) The include instruction is outside of the "form" element id=main_form() of the first JSF page.
    3) Inside the page fragment (header.jspf), I put a form (id=header_form) with some input fields inside the "subview" element.
    4) When running the web application, the form and its children (id=header_form) inside the subview are not rendered.
    It seems to be a problem with multiple forms on a page and the subview.
    Do I use these JSF components incorrectly? Any advice?
    Thanks

    The forms are not nested.
    hello.jsp
    <webuijsf:body ...>
    <!-- BEGIN: include header -->
    <div style="margin: 0px 0px 10px 0px; left: 0px; top: 0px">
    <jsp:directive.include file="Header.jspf"/>
    </div>
    <!-- END: include header -->
    <webuijsf:form ...>
    From above fragment, you can see the header.jspf is outside of the form element.

  • How top open multiple forms at the same time in HRMS menu

    Hi,
    When enabling "Close Other forms" in HRMS menu by excluding the function ‘Navigator: Disable Multiform’ Function in the Responsibility Definition (System Administrator -> Security -> Responsibility -> Define), mutliple forms works fine but I'am facing another error.
    My problem is: when this option is enabled, I tried to run Payroll run request but it turned out that payroll list of values is returning empty values and I'am unable to select any payroll from list of values. the only way to do so is to remove back ‘Navigator: Disable Multiform’ Function from exclusion section in responsibility.
    My requirment is: to have multiple form and payroll run list of values working at the same time
    Thanks

    Reason for this , if ur request is attached to more than 1 responsibility , i think this issue will come , we got same issue
    we remove it from responsibility list , then it is working fine

  • Generate and Print Preview Multiple Forms in a Single PDF

    There have been other questions similar to this but none directly address my problem.  We have the need to generate multple forms in a .pdf using Adobe interactive forms.  We can generate the multiple forms, but the user has to click on each form to view.  They want to have the forms in a single document that they can scroll through before printing.  We can do this in SmartForms but need to do it in Adobe.  Does anyone know how to generate multiple forms, either multiple copies of the same form or various forms, from an ABAP program into a single pdf that can be print previewed, in scrollable form, by the user?

    I can describe it one more time, I think:))
    You have multiple options, but only one "reasonable" within SAP.
    You can call an external application (through command line etc.) to concatenate forms for you.
    You can use iText as mentioned in the thread, and write yourself a "tool" which will concatenate the forms for you.
    Both these "options" would not be acceptable for my clients, I name them to help you get the whole picture.
    Then there is the third option: use a form for a single instance (template/ form A) and create a new form (form B), where you will use the A template:
    - you need to: create a new interface where everything from the old interface is a row of the table (example: you have a form to print out the personal card of the employee, so in a new form you will need to use a table, where a row is an employee)
    - you need to create a new form layout based on the new interface:
    in this new layout you will paste the whole layout of the old form (A/ single instance) and wrap it into a subform. The added subform will work as a table (you will bind that to the table from interface) and everything from the old template within this new subform will work as a "row" (something what you can repeat for each data item).
    Does that sound reasonable?
    Cheers Otto

  • Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE

    I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
    Still my system is not working as expected:
    1.  FP_JOB_OPEN is called
    2. the generated Adobe Forms function is called multiple times
    3.  FP_JOB_CLOSE is called
    This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
    (Coding should work anywhere with copy-pase.)
    data: fm_name           type rs38l_fnam,
          fp_docparams      type sfpdocparams,
          fp_outputparams   type sfpoutputparams.
    parameters: p_fpname type fpname default 'FP_TEST_02'.
    * Get the name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      exporting
        i_name     = p_fpname
      importing
        e_funcname = fm_name.
    * Sets the output parameters and opens the spool job
    call function 'FP_JOB_OPEN'
      changing
        ie_outputparams = fp_outputparams
      exceptions
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    * Call the generated function module
    call function fm_name.
    * SECOND CALL ****************************
    call function fm_name.
    * Close the spool job
    call function 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.

    Hi ZSOLT,
    In order to call the form multiple times please do the following,
    1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
      CLEAR  fp_outputparams.
      fp_outputparams-dest = 'PDF1'.      "Default pdf printer
      fp_outputparams-reqnew = 'X'.       "New spool request
    Now call your FM FP_JOB_OPEN with the above output parameters.
    2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
    But here I am enhancing your example code.
    In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
    data  l_datatypes       type sfpdatatypes.
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20040613'.      
      l_datatypes-time = '100600'.         
      l_datatypes-lang = sy-langu.
    FIRST CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.       
      fp_docparams-country = 'US'.  
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20100913'.                 "You need to change your data in order it to trigger a new form with the new data.
      l_datatypes-time = '10700'.                        "You need to change your data in order it to trigger a new form with the new data.       
      l_datatypes-lang = sy-langu.
    SECOND CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.
      fp_docparams-country = 'US'.
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    Close the spool job
    call function 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.
    I have tested the above code and I am getting multiple forms.
    Please try on your end and let me know if it works.
    Thanks
    Raj

  • Multiple Forms in a Flash Document and Posting Using ASP

    Hello everyone!
    I have some what of a dilemma on my hands. I am creating
    multiple forms in one document using Flash and need them to post
    using ASP script. I have been researching this for the last six
    days, and I have had NO luck. I have noticed that all the
    information that I have found is for one form, not more than one.
    What I have so far is the Flash document, with 4 forms. The
    basic idea is that a user chooses from a drop down menu (the
    combobox) a location, and depending on the location chosen, it
    takes the user to another frame in the flash document. The forms
    (all their own movie clip) contains a name field, a department
    field, and either a manager name a userID field or an employee
    number as well as the basic buttons for submitting the form or
    resetting the form.
    So far what I have working is the drop down menu (combobox)
    taking me to the proper frame and it shows the appropriate form.
    The reset button clearing the form (deleting any information that I
    have imputed into the input fields), but I have absolutely NO idea
    how to get the submit button to work (I did manage to get it to
    send me a message if there was nothing in one of the input fields),
    and NO idea how to get the information to the ASP file.
    Where there are 4 forms do each of them have to have their
    own ASP file attached to them, or can I use one?
    If anyone knows a site that deals with multiple forms in one
    SWF and posts using ASP that would be greatly appreciated, or if
    you know some actionscript that could be helpful.
    Thank you all in advance.

    That would be part of my problem, I really don't know ASP,
    and I am flying by the seat of my pants.
    The current script I have for the ASP file is:
    <% @Language = "VBScript" %>
    <%
    Option explicit
    Dim strfullName
    Dim strdeptName
    Dim strmanagerName
    Dim strobjeemail
    Dim strlocation
    strfullName.Request.Form("fullName_txt")
    strdeptName.Request.Form("deptName_txt")
    strmanagerName.Request.Form("managerName_txt")
    strlocation.Request.Form("locationName")
    Set strobjemail = CreateObject("CDO.Message")
    strobjemail.From = "[email protected]"
    strobjemail.To = "[email protected]"
    strobjemail.Subject = "Program from " + strlocation
    strobjemail.Body = "This user has completed this progrmam
    from " + strlocation & Chr(13) & Chr(10) & "Name: " +
    strfullName & Chr(13) & Chr(10) & "Department: " +
    strdeptName & Chr(13) & Chr(10) & + "Manager: " +
    strmanagerName
    strobjemail.Send
    Set strobjemail=nothing
    %>
    The AS code that I have so far is:
    function formValidationChecks(){
    if (fullName_txt.length==0){
    status_txt.text = "Please enter your Name";
    else if (deptName_txt.length==0){
    status_txt.text = "Please enter your Department";
    else if (managerName_txt.length==0){
    status_txt.text = "Please enter your Manager";
    else {
    status_txt.text = "Thank You!";
    variables.fullName_txt = fullName_txt.text;
    variables.deptName_txt = deptName_txt.text;
    variables.managerName_txt = managerName_txt.text;
    varLoader.load(varSend);
    trace("-----");
    trace("Name: "+fullName_txt.text);
    trace("Department: "+deptName_txt.text);
    trace("Manager: "+managerName_txt.text);
    trace("Form validated");
    submit_btn.onRelease = function(){
    status_txt.text = "";
    if(formValidationChecks()){
    var lv = new LoadVars();
    lv.fullName_txt = form.fullName_txt.text;
    lv.deptName_txt = form.deptName_txt.text;
    lv.managerName_txt = form.managerName_txt.text;
    lv.sendAndLoad("mail.asp", lv, "POST");
    reset_btn.onRelease = function()
    fullName_txt.text = "";
    deptName_txt.text = "";
    managerName_txt.text = "";
    So far my reset button clears everything, and the submit
    button is tracing the content in the form fields, but it's not even
    grabbing the asp page.
    Any suggestions? Even pages that have tutorials that are in
    the form of a video.
    Thanks

  • Can I create a PDF fillable form that allows form multiple entries and one submission?

    For example, I would like to enter new hire information for multiple new hire employees and only click the submit button once.

    Good Morning Randy -
    Sorry for not giving you a clear enough description. I was trying to avoid a novel.
    I hope to use FORMSCENTRAL for create a form for on-line users to register for meetings including paying via paypal.  Some of the people register and pay for the meeting by themselves and others are registered by their office assistant, so there might be as many as 25-30 people.
    The individual registrants are easy and doable with FORMSCENTRAL.
    However, for the multiple registrants, I would like to create a form that can handle multiple registrants and only one submission for payment.  So far, I have  only been able to do that by creating a form that has the registrant fields created multiple times.  I would really like to be able to have the set of fields created once unless I need to add the set of fields multiple times.  I am sure that complications keeping track of the total payment due as well.
    Being able to set-up a table with the fields across (left to right) for each registrant would be good.
    Maybe this does not explain it well enough in which case, I can call and explain our need.
    Thanks in advance.
    Paul

  • TO DRAW A TABLE WITH MULTIPLE ROWS AND MULTIPLE COLOUMNS IN FORM

    Hi,
       How to draw a table with multiple rows and columns seperated by lines in form printing?

    check this
    http://sap-img.com/ts003.htm
    Regards
    Prabhu

  • How do you create hierarchical folders in Forms Central to organize and manage multiple forms?

    How do you create hierarchical folders in Forms Central to organize and manage multiple forms?

    Hi,
    We do not support this feature right now.  Someone else has posted this to our ideas forum, here - http://forums.adobe.com/ideas/1587.  I suggest you vote for it, because we look at the popular ideas to help guide us on what new features work on.
    Thanks,
    Todd

  • Multiple forms through process and forms

    Hello ALL,
    We are using process and forms for maternity, paternity and
    adoption leave and not able to control creating multiple forms by
    employee. We have not activated parallel run option, still system is
    allowing user to create multiple document for same leave
    Could you let me how to stop user to creating multiple
    forms.

    There are many ways to achieve this.
    1. Use the BADI that you shown in the screenshot.
    2. Set process frequency.
    Regards.

  • With the new Time Capsule does the beam forming occur with multiple clients, and do these clients have to be 802.11ac compatible?

    With the new Time Capsule 5th Gen does the beam forming occur with multiple clients, and do these clients have to be 802.11ac compatible?

    does the beam forming occur with multiple clients
    Yes, but Apple is unclear about how many cients can be connected simultaneously with this feature.
    do these clients have to be 802.11ac compatible?
    Yes

  • Big trouble with multiple forms in a page and submit - commit buttons

    Hi
    Thank you for reading my post
    I have created a menu system based on a sample 61 at
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    so , on each page i have a form that contains my menu system , when i add second form to this page by using drag and drop , its submit / clear button works but Commit button does not change to Enable and stay disabled.
    I change the Disabled property of Commit button to true but it does not operate (does not store data into DB)
    I tried my work on a page without those menu system and it works fine.
    so i think there should be some tricks for pages that contain more than one form and has a Commit button.
    can some one clearify ?
    thanks

    Can it be a problem with my whole application ?
    I tried other applications with same condition and they workd :((
    even i made a new page in my application and put only one form into it , the commit button is turned off for ever :((
    is it possible that i touched some configuration and commit become permanently disable ?
    it will be huge pain if i need to create the project skeleton again , it has more than 20 pages and all navigations and mune system is set :>
    any clue ?
    I should say that , Jdeveloper hanged once and i kill its process, can that be the source of problem ?

  • I cannot get firefox to delete all of my browsing history, specifically form and autocomplete information. Tried going through the steps multiple times.

    I have tried to clear all of my data history in firefox because some very sensitive information from filling out college forms and whatnot has been saved and is being used in autocomplete. Because of a bad wireless company, our network has to be "unsecured" to work, and I do not want anyone getting a hold of extremely important personal information. I have gone into settings and tried clearing the cache, using private browsing, deleting all past history, etc... but firefox won't delete any of my history, even browsing. Please help! Thank you.

    Rename or delete formhistory.sqlite (plus formhistory.sqlite-journal and formhistory.sqlite.corrupt and formhistory.dat, if they exist) in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case there is a problem with the file that stores the "Saved Form" data.
    This will remove all saved form data, so you may want to rename formhistory.sqlite to formhistory.sqlite.sav or move the file to another folder in case you need to recover some saved data.

  • PanelTabbedPane and multiple form

    Hi,
    I've got a problem with tomaHawk panelTabbedPane component.
    I would like to insert a form in each panelTab child node but it isn't possible.
    <t:panelTabbedPane>
    <t:panelTab>
    <h:form id="idForm1">
    content 1
    </h:form>
    </t:panelTab>
    <t:panelTab>
    <h:form id="idForm2">
    content 2
    </h:form>
    </t:panelTab>
    </t:panelTabbedPane>
    In fact, panelTabbedPane component generate a form, and generate imbricated forms errors.
    It works with a single form enrolling the panelTabbedPane but it's problematic for validation errors because all panelTab components will be evaluated.
    Is there a mean of insert form in each panelTab with this component ?
    Thanks

    Ah well .. I misunderstood "imbricated form errors".
    Sorry, I don't have practical experience with this specific component. But such a construction just works with IBM's odc:tabbedPanel.
    You might try to look for another components. I know, IceFaces also have a tabbedpanel component.

Maybe you are looking for