Dynamic field inputs lost when form is emailed

Hello,
I am relatively new to LiveCycle and have been using it off and on to build a series of forms, learning as I go.  All work is being done in Designer ES.
I have a form built with several dynamic fields (text fields that display contingent upon a radio or dropdown selection, table rows that are added using a button with addInstance, etc).  The form also contains an email submit option which emails the completed form to me (for now), for testing purposes.
I just started testing the form this morning.  Locally it tests fine: fields display when they should, table rows are added with all the cell contents that should be there, everything can be completed.  When I use the email submit button to send it to myself, then view the attachment, all dynamic areas are missing.  They aren't just blank - they don't even appear.  So the "root" yes/no/other dropdown appears, but the textfield tied to "other", which I completed prior to emailing, is not visible once emailed.
Any ideas?

Hi,
First try going to File > Form Properties > Defaults tab.
There set the "Preserve script changes" to automatic:
This should help.
You may wish to check that each of the objects are set to Name/Normal binding in the Object > Binding palette (global binding will also work, if you want to use thsi for certain fields). I don't think that this is the issue, but have a look anyway.
Hope that helps,
Niall

Similar Messages

  • Generate Dynamic fields in an Interactive Form

    Hello,
    I would like to know if it is possible to generate dynamic fields in an Interactive Forms ?
    Best regards,
    A.Henry

    Hi,
    Yes it can be implemented by using scripts.
    Here you can do the hide and visible things and once the field is binded in the interactive form that do not change.
    We can utilize the context node elements only once we can put into interactiveform only . we can not use as dynamically as Context attributes.
    What you are exactly looking for?
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

  • Conditional formatting (colour) lost when form is saved and reopened?

    Hi All
    This one has got me confused! I have set drop downs to change color depending on the selection using the following code:
    if ($.boundItem(xfa.event.newText) == "1") {
      this.resolveNode("$").ui.oneOfChild.border.fill.color.value = "153, 204, 0";
    if ($.boundItem(xfa.event.newText) == "2") {
      this.resolveNode("$").ui.oneOfChild.border.fill.color.value = "255, 153, 0";
    etc
    I have this in the 'Change' event and the 'Layout Ready' event, I have also tried it in the 'Initialize' event but with no success. The issue is this: the colour changes fine as the user fills in the form however is lost when they save and reopen (the selection values are fine just the color coding is lost)
    BTW I am saving the PDF with 'Extended Features' as I thought maybe this could be a 'licence' related issue with Adobe Reader
    Does any one have any idea of where to look to solve my problem please?
    Many thanks
    Ellis

    Hi - yes Iv'e tried in in several events inc 'Initialize' anbd 'Layout Ready', 'Doc Ready' - just cant seem to get it to work.
    Here is the troublesome portion of the form, if you add some impact ratings the color will change, then save and close the form, reopen and the color formatting is lost
    Dropbox - BIA Impacts for forum.pdf
    Any help appreciated
    Thanks
    E

  • Creating a date field that autogenerates when form is opened but the date is fixed upon signing.

    Hi,
    I have been creating a series of PDF forms on Adobe XI Pro that are designed to be filled in using Adobe Reader (hence are saved as Adobe Reader Extended). Once the form is complete there are signature fields that the user digitally signs which then deactivates specific form fields from further editing. Alongside the signature field I have got a date field which, at the moment, is using JavaScript to auto-generate the current date upon opening. However, the issue I am having is that I want this date field to be fixed when the form is signed, rather than updating again when the form is next opened. Is this possible?
    The document JavaScript that I am currently using to generate the date is as follows:
    this.getField("PR_Date1").value = util.printd("dd/mmm/yyyy", new Date());
    But obviously this is independent of the date field.
    I am very new to Adobe in general so I don't have much of an idea about how to go about doing this. Could somebody please help me to do this if it is possible?
    Thank you
    KC

    Hélène-
    Thanks for the detail regarding validation script, but I still am having a problem with it.
    I have tried what you told me (remove reset the value) the popup no longer appears when the form is opened. But the validation does not seen to be working. It is not working either in the validate or exit event. This is what I have now on that text field.
    ----- form1.#subform[0].Y::exit - (JavaScript, client) ---------------------------------------------
    //Verify year is current or year+1
    var today = new Date();
    var year = today.getFullYear();
    if (this.rawValue == year || this.rawValue == year+1)
    app.alert("Year is invalid.\n\nOnly current or next year is valid.");
    ----- form1.#subform[0].Y::validate - (JavaScript, client) -----------------------------------------
    //Final verification
    ScriptObject.ValidateField(event.target, this);
    This final verification script I have taken from the samples on the
    LiveCycle Developer Center (Validating field content in a form hosted in Adobe Acrobat).
    The alert only displays when 2007 or 2008 is entered. I am really confused now. I thought I had a handle on this with your explanation.
    I do not know where to go now. The Object Pallet is setup as:
    Field Tab
    Allow Plain Text Only and Limit Length are checked with a Max Chars: 4. Edit Pattern: 99999
    Value Tab
    Type: User Entered - Required
    Validation Pattern: 9999
    Validation Script Message is checked - in Message box Invalid Year.
    Binding Tab
    Default Binding: Normal
    Data Format: Plain Text
    I am hoping that you can explain what I have wrong.
    Thanks so much,
    Confused Nancy

  • Blank spaces at the end of an IDoc text field get lost when posted to R/3

    Hi Guys,
    I am facing the following issue:
    In an XML file-to-Idoc scenario, there are spaces at the end of a text field in the inbound XML file, which I can see when I open the inbound file with a text editor like notepad, and they are kept after XI mapping is executed (I can see them in message mapping simulator). However, it seems that these spaces get lost once the IDoc is posted to SAP R/3 and they are not visible on SAP R/3 side.
    Do you have any idea ? Thanks.
    Best Regards,
    Evaggelos Gkatzios

    That means SAP is removing the spaces from IDoc fields, where you spaces are not allowed. Does it create any problem?
    Thanks,
    Nabendu.

  • Data is lost when form is completed under Firefox or Chrome

    I have an interactive pdf, created with Acrobat X Professional, with user rights extended so that form data can be saved using Reader.  The intent is for users to complete an online form in their browser and be able to save the data to their local disc.  This works under IE, Opera and Safari.  However, Firefox and Chrome appear to have default pdf viewers which do not recognize the Reader extension.  The pdf can be saved, but the form data is lost.  Is there a remedy for that?

    Until there is a better solution, I am using javascript to detect whether the user's browser has the Adobe Reader plugin enabled.  If not, a different version of the pdf is served, which does not tell the viewer that form data can be saved, and does not include other features which Chrome's pdf viewer can't accommodate.

  • Querystring is lost when form validation failes

    I have a form that uses form validation and <i>@jpf:validation-error-forward name="validation-failure" return-to="currentPage"</i>.<br><br>
    When the validation of the form failes it returns to the current page as it is supposed to but it looses the querystring that i use to show the correct content in the form. :-(<br><br>
    I have tryed to find a way to also send the querystring but without success so far. Any ideas anyone?

    Can the query string be stored in pageflow scoped variable? That way it will exist as long as the portlet instance exists.
    --SJ                                                                                                                                                                                                                                                               

  • Form field validation: All required data lost when clicking browser-back-button!

    Hi folks,
    I have a big problem using the validation text  field components of Spry when the user must click the browser back button (or clicking a history.back()-Link) because he has  entered a wrong CAPTCHA-code!
    Right now, all the data - only in the required fields - not in the optional  fields!!! - is lost and the user has to enter all data once  again;-(
    Does anybody know why only the data in the  required fields is lost? Is there a nice workaround?
    I really  appreciate a quick answer:-)
    Kind regards from cloudy Germany
    Thomas

    rememberFormInputs('frmlogin', 'input-');
    'frmlogin' should be the id of page, not the name. so on your <form> tag, add the id="frmlogin"
    remove the
    // overload alert
    function alert(str) {
         var el = document.getElementById('alert');
         if (el) {
              el.value += str+"\r\n";
    Its really bad practice to overwrite the alert. and inside the rememberFormInputs remove these lines:
    alert('old value remembered: '+old_value);
    alert('setCookie: '+name + ' = '+value);
    and it should work

  • Filling up a pdf form which I received as email. I opened it on my adobe reader 11 and filled up the highlighted fields. Yet when I click on the send via mail it says changes will not be included. How do I send the form with changes?

    Filling up a pdf form which I received as email. I opened it on my adobe reader 11 and filled up the highlighted fields. Yet when I click on the send via mail it says changes will not be included. How do I send the form with changes?
    The add annotations field shows as not allowed in the security options. So how do I send this form back with the changes??

    I think you you need to click 'save' first, then it is saved to acrobat, where it will prompt to send.

  • Dynamically  Visibilty of Input Field in Interactive PDF Form

    Hi All,
    I want to bind the visibilty of Input Field dynamically in an Interactive PDF Form. How can I do ?
    Please give me some solution
    Regards
    Manish

    Manish,
    Well select the inputfield & check the Scripting Window in your Designer.
    On its top, you will see an option something as Show: Events with Scripts.
    Select the initialize event and insert the code she mentioned. Then click on + sign. This will enter your changes.
    There will be language option on top as well. Select JavaScript from it.
    So in the end your code should read something like this.
    ----- data.<YourFormName>.txtInput::initialize: - (JavaScript, client) ----------------------------------
    txtInput.presence = "invisible";
    Chintan

  • How to capture the dynamic fields in the form...urgent...Please help me

    Hi Gurus,
    I'm working on Adobe Interactive form developed in WDP ABAP. I have a dynamic field called Roles. User can give n number of roles as Input. How can I capture them in my WDP. I know how to capture if there is a fixed field like name, age, email id etc.. Please give me the detail explaination on this.

    hi,
    when you create a form, the UI elements are created by either directlly dragging and dropping the context elements or map form elements with context elements.
    when pdf is online its contents are reflected in the Context Attributes.
    so if you change/modify the Context Attributes, the change is reflected in the corresponding form fields.
    regards,
    -amol gupta

  • Send form with dynamic fields to guided procedure

    Hi all,
    i am just wondering if GP is able to map fields from the interactive form that is dynamic.
    for example, the request invoice form sometimes may contain more than one records. however, with my limited knowledge on GP, i believed mapping can only be done from ONE input parameter to ONE output parameter?
    pls kindly advise..

    Hi Ashutosh,
    Yeah i have context attribute of type byte which has the image source but the problem is when i am trying to pass (as given in the above metioned blog) the image source from Web Dynpro to Guided procedure (which has Web Dynrpo DC as CO), i was not able to find any image in Guided procedure. So is there any way to make it possible?
    I cant hav attribute as String since i use an Upload UI element to upload the pdf from local machine. Only if i have the context attribute as byte the image is visible in the form once the Pdf if upload from local machine
    i follow this blog for my Web Dynpro DC as CO in Guided procedure
    The specified item was not found.
    Thanks
    Gopal.

  • How can I get a PDF form to email to me when it is hosted online?

    Ok, I'm not a coding expert, but I understand CSS and html alright.
    I am trying to create a PDF form for my website: www.pantherapressdesign.com.
    I have already created the forms (they are under the purchase section of the site) and when they are saved to the harddrive they work just fine. HOWEVER, when you fill them out and they open in the browser they will not submit to me (aka. I don't get them by email, even though the submit button correctly re-directs you to the thanks page).
    In the fuctions of the submit button I have it set to mailto:[email protected]
    When the form is saved on the hard drive (I open it from the desktop) and click submit it brings up a dialog box and asks me how I want to send it. I then choose desktop mail service, it opens it in an email and sends it.
    I want customers to be able to click the form from the website - fill it out right there in the browser - and then be able to submit it to me that way.
    I am assuming I must route this through the php or something, but am not sure how to do that. I have the php working for the contact from on the website, but I don't know php so I used pre-written code to do that. Is there some simple code I can drop into my php that will handle these forms? Help, please! Thanks

    I looked at the Stationary form, and there are a number of things you need to change. It is currently set up to submit as "HTML", as opposed to FDF, XFDF, or the entire PDF. This is fine if you're submitting the form to a web server, which can read the field data, place it in an email, and send it off. This is actually much preferred to relying on the user's machine being set up properly to send an email. Many are not and not receiving order that someone thought was submitted will be bad for your business. Consider removing the existing forms today and you can update when they are working.
    Your web hosting service likely has a PHP script that is designed to work with HTML forms and send an email with the form data included. This can work with a PDF form if the form is correctly set up. To do that, you will need to know how the script works and what it is expecting in the way of form data when it processes a submission. The PHP script should also be modified to send an appropriate response back to the user, which can be a simple redirect. The way you have it now with a link to the redirect page is wrong. It goes there whether the form is complete or not and whether the email actually got sent. This can be avoided by having the web server take care of this.
    If you don't have the expertise to modify the form to suit the PHP script and PHP script to suit the workflow, you'll need to find someone who does.

  • When sending a PDF form by email, is there a way to make a button into a drop-down to select multiple email addresses?

    Basically, I'm wanting to have multiple recipients set up within a button, so I can pick and choose who and when I send the form to. I can only seem to get it to either send to only one email address, or to send to multiple email addresses all at one time, without the option to select a recipient upon pressing the button.
    If anyone could help, I'd be really grateful.
    Many thanks in advance.
    James

    First of all, a drop-down menu doesn't allow for multiple item selection. You'll need a list-box field for that.
    Once you have that set up you can use the value(s) selected in this field as the recipients of the email.

  • Validating Input fields in Interactive Adobe Forms with Webdynpro ABAP

    Dear Friends,
    Am new to Interactive Adobe forms with Webdynpro Abap,
    My scenario is, I have few Input fields, i need to handle the Messages when am not entering values in any of the Input Field,
    and raise the message when i click on Save Button.
    I have tried with setting the field as Required in Form itself, but i can't set the Field as Mandatory.
    I don't know how to do, Please give some needed points, as well needed some Script/Formcalc code.
    Thanks,
    Pradeep.

    Hi Pradeep,
    You can validate the fields by using javascript/formcalc logic in onclick event of button.
    Please refer the below links
    Adobe Form -How to make an Input Field Mandatory
    Validate Intercive Adobe Form
    Hope it helps you.
    Regards,
    Rama

Maybe you are looking for

  • Opening & Closing Balances are show diff. amounts

    Hi, One GL account showing Closing Balance for 2008 (this nothing but uploaded initial value).  Is not matching with Opening Balance for 2009 @ FBL3N. Example:  Closing Balance is 10,000 (positive) for fiscal year 2008.  Opening balance is 30,000 (ne

  • IPod touch not showing all music

    My ipod touch is not showing all of my music in 'songs', which I assumed showed all music on the device. I have about 7 Third Eye Blind songs on here and I can find all of them using the 'search ipod' tool, but only 2 of the songs show up in the musi

  • How to change colors in Color Ramps

    Hello, I would like to use Color Ramps, and I need to change colors. In help documents, it say that I juste have to right click in the icon and change what I want. But I tried all option and I can't do anything I want. Can you help me ?? Thanks David

  • Turn off screensaver in Sleekpho

    Hi all, first post. Just bought a Zen SleekPhoto and must say that I am impressed. I went with this model because of the color screen and also is supposed to work with Yahoo Music Unlimited to go. I plan on trying to move some songs over this evening

  • How do I update it Camera Raw?

    I have to update my camera raw and I don't know how, I'd like some guidance please!