Dynamic/Flowable Form Fields

I am working on a basic form called Performance Evaluation. It consist of  6 different tables. The original form was designed in Word 2003 and convert to PDF using LiveCycle Designer ES. My questions is, my form fields continue to "fall off the page" when the text fields are completed with data. I am also having a hard time combining the tables that have been "placed" on page 2 during the conversation of .doc to pdf. I can not seem to make all of the table work together much less flow together to complete the dynamic, interactive form I would love to have. I want everyone to be able to write as much as they want in the comments section and keep everything together and not create blank pages..
I have attached the form so everyone can take a look. ANY HELP would be greatly appreciated. . I can make text field flowable, and have them flow to a second page for simple forms/applications. It is when I add table that the Hierarchy becomes a problem.
Any help would be greatly appreciated!  Jenn

Thanks for the response. Yes, I have started a new form and not locating the flowable text fields into tables, but into their own individual cells.
I have made the subforms  flow., and now they are continuing on the second page and not running off the page. However, I do have another question...(every solution sometimes creates another problem)  Now that my text field-data is flowing to the second page, the text itself is moving from the right hand column to the left hand column on the next page. This really does not bother me that much, but I have a feeling it will confuse everyone using the interactive pdf.  Any suggestions?
Thanks - Jenn

Similar Messages

  • Validate Dynamically Generated Form Fields

    Hello, I am having difficulty in validating some text boxes I dynamically generated using javascript.
    I have done the below which is not working..... giving errors of undefined or is null
    var i=rowNum;//value of the integer giving the form field a unique name
    var thefield =(eval(document.getElementById('xxxx_'+i).value));
    if (thefield =="")
    alert("xxxxxxxxxxxxx");
    This is not working. Any one has example of validating dynamically generated form fields?

    Check out jquery and the validation plug-in by Jörn Zaefferer: http://plugins.jquery.com/project/validate
    It'll simplify your life!

  • How we create dynamic add form field in web form

    How we create dynamic add form field in web form?

    Hi,
    Thanks for reply.
    I need to create a form in which "add more" input field dynamically. For
    example sometime we need field on or more. Please look at the demo, I need
    to create form as per demo in business catalyst:
    http://www.openjs.com/scripts/examples/addfield.php

  • Is it possible to dynamically create form fields in PDF form?

    Hi all,
    I would like to dynamically create object like textbox, dropdown list from xml data. For example:
    When I receive following xml data:
    <field name="Check Box" type="selectbox"/>
    <field name="Text Field" type="textbox"/>
    I want to generate 2 form fields check box and text field with title "Check Box" and "Text Field" accordingly.
    Is it possible to do it in javascript for PDF form?
    Thank you and regards,
    Anh

    You cannot dynamically create objects on the fly like that but you can create interpret the XML and create an XDP file (which is the language of the template file) then bring that into Designer and create a PDF from that.
    Paul

  • Trying to dynamically output form fields returns URL values

    Hello,
    If there is a better way to go about this (which is quite likely), please let me know how to go about it.
    I'm working on some code that is supposed to dynamically set the form variables as regular variables so that we can be lazy and not have to refer to the variable with form.somevariable name.
    That part works perfectly.  Until I start testing for URL conflicts in which a URL variable has the same name.  For instance. . .
    I have a form that passes two variables; FirstName and LastName.  If I hit the page, the form shows up, I input a first and last name and click submit.  The code works perfectly.
    However, if I have URL variables with the same names, the code reports the url variable values instead of the form values.
    Some sample values;
    url.FirstName = Joe
    url.LastName = Black
    form.FirstName = Steve
    form.LastName = White
    My code that exposes the form variable will correctly find the form field names, but then when I 'evaluate' the value of the given form field, it will return the value of the URL variable of the same name rather than the form variable.
    What I am really wanting (as I described briefly up above) is to have code that automatically converts client, URL and Form variables into 'regular variables' so that you don't have to write lots of extra code grabbing them later on.  Frameworks like CFWHEELS and ColdBox do this by default, but at the company I work out, we aren't using any of them.  I need it to expose the URL variables, but give presidence to form variables if they have the same name, because they are likely to be intended to do an update or such.
    The code follows  Feel free to ignore the code for the URL and client variables if you wish as they don't directly affect how the form code works, I have tested with them commented out and I get the same result.  I provided all of it to give a more complete idea of what I have been toying with so far.  Please note that I don't normally use 'evaluate'.  There is probably a better way to go, but I don't know what it is.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <!--- Create a form so that we can post some form variables --->
    <form action="" method="post">
        First Name <input type="text" name="FirstName" />
        Last Name <input type="text" name="lastName" />
        <input type="submit" />
    </form>
    <!--- Set a variable to hold the list of URL variable names --->
    <cfset paramsurl = structKeyList(url)>
    <cfoutput>
    <br />
    URL variables:
    <!--- Loop through the list of url variables and then dynamically set a new variable to be equal to whatever is held by it --->
        <cfloop index="i" list="#paramsurl#">
            <cfset myDynVar = Evaluate(i)>
            <!--- Let's output the dynamically created variable as a test --->
            #i# = #myDynVar#<br />
        </cfloop>
    </cfoutput>
    <!--- If form fields exist --->
    <cfif isdefined("Form.FieldNames")>
        <cfoutput>
            <b>Field Names:</b> #Form.FieldNames#
            <p>
                <b>Field Values:</b><br>
                <cfloop INDEX="TheField" list="#Form.FieldNames#">
                    #TheField# = #Evaluate(TheField)#<br>
                    <cfset TheField = Evaluate(TheField)>
                </cfloop>
            </p>
            Lets try and output the two form fields without using the "form." notation<br>
            FirstName : #FirstName# <br />
            LastName : #LastName#
        </cfoutput>
    </cfif>
    <br />
    The client variables currently available are:<br />
    <cfoutput>
        <cfset nVarCounter = 1>
        <cfloop list="#GetClientVariablesList()#" index="whichClientVar">
            #whichClientVar# : #client[whichClientVar]#<br />
            <cfset whichClientVar = Evaluate(whichClientVar)>
        </cfloop>
    </cfoutput>

    Try this:
    <cfset structAppend( FORM, {
              'alpha' = 'bravo',
              'charlie' = 'delta',
              'echo' = 'foxtrot'
    }, true ) />
    <cfset structAppend( URL, {
              'alpha' = 'zulu',
              'lima' = 'mike',
              'echo' = 'papa'
    }, true ) />
    <!--- List the scopes in ascending order of importance. --->
    <cfdump var="#FORM#" label="FORM scope" />
    <cfdump var="#URL#" label="URL scope" />
    <cfset scopes = "url,form">
    <cfloop list="#scopes#" index="i">
              <cfloop list="#structKeyList( evaluate( i ) )#" index="j">
                        <cfset structInsert( VARIABLES, j, evaluate( i & '["' & j & '"]' ), true ) />
              </cfloop>
    </cfloop>
    <cfdump var="#VARIABLES#" abort="1" label="Combined Variables Scope" />
    What I did is insert 3 key/value pairs into the FORM and URL scope.  I then dumped the scopes to show their structure and values.  Then I defined a variable (scopes) which is a list of the least important scope to the most important.  After that, the loop I do simply goes through the SCOPES, their exisiting key/values and sets them into the VARIABLES scope.  Then, when it moves to the next scope of importance, it simply puts their value into the variables scope as well (overriding in the event it already exists), thus, the scopes defined later in the list override and replace.
    Then I just dump the VARIABLES scope (you'll notice it has the I, J and SCOPES variables in there that I used to create the loop.  If you perform this action in a function, simple make the I, J and SCOPES variables part of the LOCAL scope so they won't be in your VARIABLES scope.

  • Dynamically Update Form Fields

    I have a form with a dropdown where I can select an employee id. After it's selected I want to go to the database, get the corresponding information, and update the form fields. What is the best way to accomplish this?
    Thanks,
    Mark

    What kind of form you have a tabular form or a normal form?
    what version of apex you are using?
    if its a tabular form then you have to use ajax to fetch the values from database.
    if its a normal form then in apex 4.0 and above you can use dynamic actions for fetching the values.
    in older version you have to write a fetch process (before/after header) where you can fetch
    the associated values and assign them to respective items
    Thanks
    Tauceef

  • Flowable form not flowing to second page - flowing to top of first page

    The content on my Dynamic flowable form flows to the top of my initial, first page, instead of the second page.
    I have created a form where the subforms are set to flowed, flow direction is either Top to Bottom or Western Text and the "Allow page breaks within content" boxes are checked. Nothing is set to positioned. In my Pagination tab, my Place is set to "Following Previous" and my After is set to "Continue Filling Parent." I have other forms which were created by other people before I got here that have similar functions, and I've gone in and checked them against this form, and I can't see any differences in the settings. I've created a 2nd master page, thinking the content didn't have anywhere to flow to and maybe that was the problem, but that doesn't help.
    I've been playing lightly with Livecycle forms over the last few years and have never had content flow to the top of the same page instead of to a second page. Of course, this is my first time trying to create a form relatively from "scratch," so I'm sure I've done something wrong, but am not sure what. I've attached an imagine of what it looks like at the top of my page after I test to make things expand.
    Any thoughts? Thanks!

    On a flowable form, you don't have a page2 exactly. You keep putting everything on page1 and it automatically flows to the next page and the next page. Getting rid of an extra page requires looking in the hierarchy and delete everything on that page including the subform which you have to delete last. Sometimes it's really stubborn and I don't know enough about subforms to know why that is but maybe someone else will jump in to tell us both. You'll get a warning telling you that you are trying to delete the last subform on the page and just say ok.
    Now, if you already have a page 2 and stuff on it, open a blank, control all, then control C and paste all that stuff onto the blank, then delete everything off page2 and then delete page2. Go to the blank and repeat the copy process for everything there and paste it onto page one. It should flow over several pages depending on how many objects you have. Then you can close the blank and get rid of it. It's just an object holder while you get your original documents extra pages deleted.
    Like I said, I create a blank form, change the Page1 subform to "Flowed" and then save that as a LiveCycle template called "Flowable Layout" or something like that. Then I look at the form I need to make and decide if it needs to flow or not and use a static template for ones that don't and my flowable template for those that do. Knowing ahead of time that you'll need it to flow saves from laying out the form twice. So I just let it flow from top to bottom and set my pieces of layout into positioned subforms. Then it's also easy to show or hide the subforms as needed. I use alot of buttons (visible screen only) to show hidden subforms that aren't needed until someone selects that section. It's all just great fun......

  • Color Changes when form field added

    When I add a form filed to a pdf, the color changes on the output of the pdf.
    Print out the attached pdf pages 1 and 3. Look at the green button. It is darker on the pages with the form field(p1) then on page 3. they are the same source file. It like when I add the form field, it changes the page to a CMYK color space and the images are in a RGC Color space.
    Any ideas

    Follow-up:
    One of my colleagues is working on a product feature that involves checkboxes (this is how I came across this issue in the first place). His checkboxes aren't contained within a form element whereas in my test page I described in my question when I removed the form from the page the issue didn't manifest.
    However, the page he's working on does contain other forms so I decided to modify my test page to try to replicate this scenario. I found some really odd behavior.
    If I have a form on a page but the checkboxes are not children of that form, and if I dynamically add a single INPUT element or a single TEXTAREA input, the checked values just disappear on page refresh. That's expected since the lack of a parent form should eliminate the memory of the checkbox values, right?
    Well, when I dynamically add '''both''' an INPUT element and a TEXTAREA element it goes right back to remembering '''and''' moving the checked value, but only by one step. By comparison, if the checkboxes and the dynamically added form fields are contained with a form the checked value will move by a number of steps equal to the number of dynamically added form fields.
    Strange, strange behavior I can't really decode with certainty across the entire range of possible scenarios...

  • Referring to dynamically created form items

    I have a requirement where I do not know how many rows are going to be added into a table from a form. What I have done is used javascript to dynamically create form fields. This is along the same lines as a tabular form, however it should not save any of the data until the whole page is submitted.
    My problem is, how do I then refer to these form items within a PL/SQL procedure?
    Below is the piece of javascript that creates new rows on the form (the options for the select item are fed in using ajax). And following that, the pl/sql loop that I have attempted to use which doesn't work.
    NOTE: The onchange attribute on each of the form elements was to try to set a session state variable for each of the items. I got this from the following blog post.
    http://deneskubicek.blogspot.com/2009/01/ajax-setting-item-session-state.html
    Javascript
         var objectFormCount = 0
         function addObjectForm() {
              var newFormHTML = '<tr>';
              newFormHTML = newFormHTML + '';
              newFormHTML = newFormHTML + '<td><select onchange="f_setItem(this.id)" name="f01" id="f01_' + objectFormCount + '"></select></td>';
              newFormHTML = newFormHTML + '<td><input onchange="f_setItem(this.id)" type="text" name="f02" id="f02_' + objectFormCount + '"/></td>';
              newFormHTML = newFormHTML + '<td><input onchange="f_setItem(this.id)" type="text" name="f03" id="f03_' + objectFormCount + '"/></td>';
              newFormHTML = newFormHTML + '<td><input onchange="f_setItem(this.id)" type="text" name="f04" id="f04_' + objectFormCount + '"/></td>';
              newFormHTML = newFormHTML + '</tr>';
              $('#BackEndObjectTable').append(newFormHTML);
              objectFormCount++;
    PL/SQL
    FOR i IN 0..l_oracle_script_count
    LOOP
    --DEBUGGING VARS
    l_test1 := v('f01_' || i);
    l_test2 := v('f02_' || i);
    l_test3 := v('f03_' || i);
    l_test4 := v('f04_' || i);
    l_test5 := i+1;
    INSERT INTO MIGRATION_B_OBJECT (MIGRATION_B_ID,TARGET,SCHEMA,SCRIPT_LOCATION,SCRIPT_NAME,RUN_ORDER)
    VALUES (l_mig_seq,v('f01_' || i),v('f02_' || i),v('f03_' || i),v('f04_' || i),i+1);
    END LOOP;
    Edited by: Dopple on 28-Jul-2011 01:59 - text was stripped from the body of the post.

    For anyone with the same requirements. What I had to do was add the value of each form element into a temp table which was basically held key/value pair (form item/value) along with the username, the table that is to be updated and the row number.
    Once the actual page was saved, the procedure built up an insert sql string from the values in the temp table and inserted each row.
    Works a charm, although spitting the data back out into the dynamic forms is going to be a chore!!!!

  • How to make dynamic PDF form flowable across 2 pages in LiveCycle?

    I have a dynamic PDF form that is flowable on each page but not both. By that I mean that the fields on the 2nd page won't move to the 1st page if there is available space. How can I make the entire document flowable? I am using Adobe LiveCycle ES2 Designer to create the form. Thank you in advance.

    Hi,
    you need just one page which is flowable and allows page breaks.

  • How to dynamically hide the Field Label in the overview page's form view?

    Hi Experts,
    How to dynamically hide, for certain condition, the Field Label in the overview page's form view?
    Please reply me.
    Regards,
    Vishal

    Hi Vishal,
    It is not possible to dynamically hide/display fields if the UI is build using configurations.
    The work around is to have multiple configurations, and based on the condition, load the
    corresponding configuration at runtime.
    The other approach is to code the complete htm view(htm coding) without using the configuration provided by the framework.
    Regards,
    Leon

  • Dynamically use page number in form field on spawned pages?

    I have a form with spawned pages.  JS for spawning page(s) works fine.  However, one text field on template is driving me nuts.  I would like this field ("CaseNum") to dynamically display page number, since page number also corresponds to case number.  On templage ("getcase"), I can calculate value for CaseNum using custom calc script (event.value = this.PageNum).  But that doesn't work because every spawned page gets the same value (ie, whatever is last spawned page number). I also tried JS below, using P0.getcase.CaseNum as the field on the template in which I want the page number/case number to be displayed:
    var oPage = this.pageNum;
      this.getField("P" + oPage + ".getcase" + ".CaseNum").value = oPage;
    But, this doesn't work either, because the field on the spawned page automatically gets the prefix of P + page number + .getcase appended to the field name.  Is there any way to dynamically used page number in a form field on spawned pages?  If so, how? Note that while I am trying to use a dynamic case number on spawned pages, it presents the same issue as dynamically displaying page numbers on spawned pages.  I'm a JS newbie, so any help appreciated.  I've searched high and low on web and in forums and couldn't find the answer.  Thx.

    http://forums.adobe.com/thread/1160899
    7.George Johnson,
    28-Feb-2013 09:42   in reply to natelfo
    Is this what you mean?
    Also see:
    http://www.planetpdf.com/developer/article.asp?ContentID=6466
    http://www.wordwizardsinc.com/blog/finding-the-fieldname-prefix-on-acrobat-acroform-spawne d-template-pages-using-javascript-functions/

  • URGENT - Can I predefine form fields dynamically??

    Hello,
    I am wondering if I can predefine forms (pdf-form-fields) by content coming from a database for example. So the user only needs to validate the information instead of writing it by himself before printing it for example. Can anyone help me please?
    Thanks in advance,
    M

    Martin,
    This is not appropriate for the Reader forum. I think it might be
    possible if you used xml based pdf forms rather than what is known as
    Acroforms/Acrobat forums. Please re-ask in the Acrobat LiveCycle
    Designer forum:
    Mike

  • Please help with dynamic form field names in cfloop

    Hi,
    I need to create a form with day, date, month, year and time for 12 months
    Instead of coding them 12 times, I create day,date,month,year and time fileds in my form 1 time and then I use cfloop from="1" to="12" index="i" to loop these form fields 12 times.
    I gave each form field name such as: <input type="text" name="ScheduleDate_# i #" value=" "> this way each of those field will be named differently such as:
    ScheduleDate_1, ScheduleDate_2,ScheduleDate_3, ScheduleTime_1,ScheduleTime_2, etc
    I'm facing problem when this form is submitted, I think the error has something to do with the pound sign (##) when it comes to updating the back end
    I use MS SQL
    It doesn like this:
    <CFLOOP From="1" To="12" index="k">
    <CFIF Len(Trim(Form.MeetYear_#k#)) NEQ 0 AND Len(Trim(Form.MeetTime_#k#)) NEQ 0>
    <cfquery name="CreateSchedule" datasource="#DSN#">
    UPDATE TableSchedule 
    SET SchedDay = <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedDay_#k##">,SchedMonth =
    <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedMonth_#k##">,SchedDate =
    <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedDate_#k##">,SchedYear =
    <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedYear_#k##">,SchedTime =
    <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedTime_#k##">
    Where SchedId = <cfqueryparam cfsqltype="cf_sql_numeric" value="#k#">  
    </cfquery>
    </CFIF>
    </CFLOOP>
    Can anyone help please?

    You can't nest hash marks. Do this instead:
    SET SchedDay = <cfqueryparam cfsqltype="cf_sql_varchar" value="#form["SchedDay_" & k]#">
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Expanding Text to fit expanding form field

    I am new to using LiveCycle Designer and have embedded some text fields in paragraphs which are dynamic and adjust but now I am having a hard time getting the text within the paragraph to adjust to the form field. Is there a way I can do this? Sorry if this is a simple question.

    what you need is flooting field in the running text. You can use as many flooting fields as you need in text. Focus in that direction.

Maybe you are looking for

  • Problems with NAT and UDP

    hi Everyone, I'm running a Cisco 3620 with two interfaces, a FE and an ADSL WIC, and I'm noticing some unexpected behaviour with NAT(ing) some UDP ports, here are the config rules in question: ip nat inside source static udp 192.168.100.26 14000 inte

  • How to temporarily turn OFF Spotlight Indexing?

    It was suggested to me that it is best to turn off spotlight indexing for the duration of an initial clone backup of your system drive. How can this be done? Thanks.

  • Creating PDF documents using DBMS_XSLPROCESSOR ??

    Hi everybody, I have my XML document and my stylesheet in DB and i'm trying to create a PDF document using the DBMS_XSLPROCESSOR.processxsl method, can anybody help me about that ?? Thanks for your help... Lionel from Switzerland

  • Need to get songs on new computer from iPod

    I just recently got a new macbook and had a dell before. I would like to know how I could transfer my songs from my iPod to my new iTunes library. It says that I have to authorize my computer but i forgot my screen name and password Is there any othe

  • HT1338 ios 6 updated iphone doesn't work on my mac

    I am currently using iphone 4 - recently upgraded to IOS 6, and it doesn't work on my mac - a version of MAC OS X 10.5.8. - when it connects to itunes - which i have a latest version upgraded on my mac. I tried to upgrade the Mac software of 10.6 and