Place a "reset form" button using livecycle

I Placed a button on a form called "Clear Form" Now what do I do to reset the form when clicked?  Can I also add a "Are you sure message" with another ok button?

Thanks for the script. I have a form with radio buttons that make certain fields appear visible/invisible mattering on wheather user chooses yes or no. I used actions to perform the visible/invisible function.
When using your script i get the Yes/no option in a popup and if I choose yes it correctly clears all my rado buttons and also resets any fields.
However the no fuction does not seem to be working. If I choose no it still clears out everything, the radio buttons and resets any fields made visible by said radio buttons. As you suggested I added xfa.form.remerge(); which made the visible fields reset.
Heres the code i used.
var
answer = xfa.host.messageBox("Are you sure you want to reset the form?","Confirmation Required !!!",2,2);
if
(answer ==4)
  xfa.host.resetData();
xfa.form.remerge();

Similar Messages

  • Reset Form button showing as Submit Form button?

    Hello....
    I have run into an odd issue that I can not figure out.  For the past year, I have been creating and manually distributing various forms to our Sales Engineering group and outside partners.  These forms are all designed from a common template we developed that includes a standard “Reset Form” button.  Upon sending out a new form, I received an email with a screen shot that showed the Reset Form button as “Submit Form”.  The partner went on to say that they thought it was the same as another form they have from me, which also shows a Reset Button as “Submit Form”
    The end user states they are using Adobe 8.1.4.  The forms were developed (9 Pro) LC Designer ES 8.2 and are set to be 8.0 or higher compatible.  This is the first time I have heard of this and cannot figure out the cause.  The label on the canned button itself is being changed from Reset to Submit. 
    Does anyone have any thoughts as to what would cause this and how to correct?  I can not assume that this is the only time this has happened, but it is the first I am hearing of it.
    Thank you and my apologies if this should have gone to another forum group 
    Chris Link, CTS, EAVA
    Sr. Design Engineer

    I have not heard of this before .....can you send the template to [email protected] so I can investigate? Please include a description of the issue in the email.
    Paul

  • In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    Thank you so much for your reply . . . but . . . I should have shared my original script with you -- it was a little more complicated than I led you to believer. I was triggering a group of text fields to become disabled as well as gray. Below is the original script so that when the checkbox is checked, it causes several "Co" fields to be disabled and gray.
    // Mouse Up script for check box 
    // If checked, certain fields should be disabled 
    var f_prefix = "Co"; 
    // Get a reference to all of the "Co" fields 
    var f = getField(f_prefix); 
    // Reset the Co fields 
    resetForm([f_prefix]); 
    if (event.target.value === "Off") { 
        // Enable the Co fields 
        f.readonly = false; 
        f.fillColor = color.transparent; 
    } else { 
        // Disable the Co fields 
        f.readonly = true; 
        f.fillColor = color.gray; 
    To recap -- my goal is to get those gray fields to revert to transparent if the form is reset. I'm willing to create my own custom "Reset Form" button but I'm not sure I understand how that would look. Wouldn't it be quite lengthy? I think I'm having a brain freeze -- can't figure it out!

  • Forms, drop down state/country, and Reset Form button.

    Hello, I am working on my first website using Muse. I am looking to add a drop down menu with all the US states within a form. I am also looking to create a Reset button Next to the Submit button at the end of the form. Are any of these possible with Muse at this time?
    Thank you for your time,
    Richard

    Hi,
    Please take a look to this thread, How do I add a contact form / feedback form to my site?

  • What product we need on the server to pre-populate XFA form created using LiveCycle Designer?

    We run our web applications on IBM Lotus Notes/Domino server (Version 8.5.3). I need to figure out what is that specific server component that we need to install on our server just to pre-populate data on to the XFA forms. (We don't need to merge PDF files, or attach any workflow, or submit data entered in the XFA forms to any web server.)
    I understand that Adobe LiveCycle ES4 is a suite of products that does a lot more than what we need to do. So, in that suit of products which specific product is that we need to buy & install on our server that enables us to use java code to populate data on to the XFA forms. Also, will that server component work on IBM Lotus Notes/Domino server or is it only going to work on a J2EE server?
    I appreciate a response. Thanks.

    I am sorry, but I am still confused. Out of the following modules of Adobe LiveCycle, which one is that I need to do the filling of the PDF forms.
    Forms Standard and Pro
    Reader® Extensions
    Process Management
    ECM Connectors
    Correspondence Management
    Output
    PDF Generator
    Rights Management
    Digital Signatures
    Do I have to install the entire suite or just one of these will be enough for filling data?

  • Reset form button doesn't work

    The Reset Button of a procedure form doesn't work if we call this form from a dynamic page, however it works if we call it from a form portlet.
    In the first case, it clean everything, and goes to a blank page with just the form in the content.
    The second case works alright.
    �What can I do?

    The steps for create the dynamic page are:
    <ORACLE>
    DECLARE
    v_modulo NUMBER := 7527217829; (number of the component form based on procedure )
    l_session portal.wwa_api_module_session;
    l_session_id integer;
    BEGIN
    l_session:=portal.wwa_api_module_session.create_session(p_module_id=>v_modulo,
    p_version=>1);
    l_session_id := l_session.get_id;
    l_session.save_session;
    portal.wwa_app_module.link (
    p_arg_names =>
    PORTAL.wwv_standard_util.string_to_table2('_sessionid:param'),
    p_arg_values =>
    PORTAL.wwv_standard_util.string_to_table2(l_session_id||':'||:param1));
    htp.init;
    portal.wwa_app_module.show (p_sessionid => l_session_id);
    end;
    </ORACLE>

  • Add a Reset Form button

    This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7dd5.w.h tml

    Individual fields cannot be selected/deselected. It's all or none. ver. 10.1.3

  • Pdf reader requirements for forms designed in Livecycle

    HI guys,
    I have designed a few dynamic pdf forms that was developed using Livecycle Designer ES. These forms are online fillable forms and I will be uploading these on my site so my users can open these forms in their browsers, complete the form online and print it out for their personal use. These forms are more like online tools for the users. For this, I also have to provide a Troubleshoot guide to my users so they can refer to this if they are unable to open the forms or having trouble viewing the forms properly. So right now I am working on creating this Troubleshoot documentation and I dont want to give the wrong info to my users so I have some clarifications and some doubts and wondering if you guys can help me out..
    1) From what I understand, I think the users need to have atleast a v.8.0 of Acrobat Reader in order to fill these dynamic forms that was designed in livecycle designer ES. This is right? I think so based on my memory since I believe I read this somewhere. Would you be able to clarify this? Have I got the right version?
    2) Also, further to this I understand that the users need to have an Acrobat reader browser plug-in in order to open the pdfs in their browsers. So, I will be adding a list of various pdf plug-in download links for various browsers.
    3) I was wondering, what happens if the user doesnt have acrobat reader installed in their computer? What are the common other pdf readers that various users use? I know there are tons out there but I am trying to understand the common ones that majority of the people use other than Acrobat Reader. I mean users having mac or other OS. Will these forms also work in other pdf readers? Is there are a list of various pdf readers & the versions requirements in order for these livecycle forms to work?
    4) Other than the above points, do you think if I need to mention anything else in the troubleshoot documentation? Any points I may have missed?
    I am sorry..this is the first time I am uploading these online forms and I am trying to understand the requirements so I may be able to assist my users if they do experience any problems. So any help is very much appreciated!
    Thank you..

    Some users are having problems viewing my forms I created using livecycle:
    1) I have a created a few dynamic forms designed using livecycle designer ES..In order for my users to open these forms, they need to have atleast Adobe acrobat / reader version 8.1 or higher to view these dynamic files. However, quite a few of my users are saying that they are still unable to open these forms directly from their browser although they have downloaded the latest Acrobat X version and the browser plug-ins in their computer. It happens to both windows and mac computers. But they are able to download these files and open it directly from their adobe reader though. It happens with all browsers for them...some of them have even called up mac support as well as adobe support and they were advised that it could be a problem with my forms that I find hard to believe since it opens in my computer and opens for a lot of other users. Its only a few users still having this difficulties and I can't understand why! They have also tried enabling "Adobe Reader" as a default problem to open pdf files by opening the adobe reader. They also have tried uninstalling and re-installing the readers and still the same problem. These LC files just dont open inside their browser for them.
    2) Also, I recently uploaded a dynamic file in acrobat file sharing. I noticed that when I click on this file sharing link, it also shows the message that I dont have the latest reader installed (something similar to what my users say about my forms), Why am I getting the below message when I have the latest adobe installed? I am able to open other dynamic xml forms in my browsers..why does this happen? I wonder if other user's problem who open my forms from my site is similar to this problem I have with acrobat file sharing...not sure... (example url: https://acrobat.com/#d=fs-E6Bqml8r0FWI8aMu09g )
    To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from etc...etc...etc..
    What can be the problem when the adobe version is already updated and also the plug-ins are updated too?? I have read a lot of links in adobe site itself which suggest various methods to test out the forms, browsers, plug-ins, etc..and I also understand that it doesnt work for iOS & Android devices, but this problem still happens to some users even after trying out these troubleshoots. Can someone plz explain if there are other limitations or solution for these users?

  • IOS reset form

    Have a form with a reset form button which does not work on Adobe reader for iOS (iPad or iPhone). Button works on PC and other PDF viewer apps. Any ideas?

    That feature is not yet supported in Adobe Reader for iOS.

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  t worked, but only for those with PC.  I could not get it to work with Apple Yosemite even with reader installed .  is there a way i can make it work for apple /

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. It worked, but only for those with PC. However,  I could not get it to work with Apple loaded with Yosemite even with reader installed .  Is there a way i can make it work for apple / Mac? It worked fine on a mac using Mountain Lion and reader
    Thanks

    LiveCycle = XFA forms.
    afaik - These cannot be used in Apple OSs.
    Be well...

  • Is it too much to ask that a Mac user can just OPEN and USE a PDF form created by LiveCycle Designer PC software?!?

    My problem is just that- I have created all my forms using LiveCycle Designer because it is easier to make the forms accessible to individuals with disabilities.  Apparently it doesn't make Mac users have access to the forms.  I've received complaints from Mac users that cannot complete or submit the forms that I created.  I'm not asking how to recreate using another software, I know how to do that.  I'm asking is there a work around to allow a Mac user to open a PDF form or even XML (bedded within an HTML page) on a Mac computer WITHOUT having to use bootcamp, parallels, etc. and be able to complete the form and submit, print or email it?????  I've exhausted all my knowledge on this thus far and I'm hoping to find something that will help.  So far all forums talk about how Mac users need to have a PC side to their computer.  Isn't there another way?
    I've attached an example form that we are no longer using (though still created exactly the same as the others)
    Thanks!

    Hi, as far as I can infer, that term means it's not loading any resources until needed, opposite of this...
    -bind_at_load
                     Sets a bit in the mach header of the resulting binary which tells dyld to bind all symbols                when the binary is loaded, rather than lazily.
    https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man1/ld.1.html
    Load resources lazily.
    You should never load a resource file until it is actually needed. Prefetching resource files may seem like a way to save time, but this practice actually slows down your app right away. In addition, if you end up not using the resource, loading it wastes memory for no good purpose.
    http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneos programmingguide/PerformanceTuning/PerformanceTuning.html
    And, higher OS versionsare even worse with Bonjour/mDNSResponder, but might see this...
    http://support.apple.com/kb/ht3789

  • My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay in store?

    My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay for repairs in store because I didnt get the Apple care plan when I purchased it. Sprint said it may be a phone problem not sure if I should take it to Sprint or Apple...I just need my phone

    I'm sorry to learn that you are not able to make/receive calls chelseabee! (ticket number removed) results indicate that there is no issues with the network or account provisioning. Since you have already done a hard reset http://vz.to/1gBkSJc (as per your post), I recommend exploring replacement options. If your phone is within the one year manufacturers' warranty we can provide a Certified Like New replacement http://vz.to/uyYF0o as long as no physical/liquid damage exist. If your phone has sustained physical/water damage and you have insurance, you can submit a claim to the insurance company online at this link http://bit.ly/07CrqPK
    AntonioC_VZW Follow us on Twitter at www.twitter.com/VZWSupport
    >> Edited to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for thos

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for those with adobe pro.  i could not get it to work with reader.  is there a way i can make it work for reader?

    Noted.
    The LiveCycle user to user forum is across town at:
    Adobe LiveCycle 
    Be well...

  • Itextsharp using livecycle form with dynamic table

    Hello all, after searching Google for the past two days and not able to find any relevant information, hence this post.
    Some background:
    1) Created a pdf form using Adobe Livecycle designer 9.
    2) It is a dynamic form with textboxes and a table configured to repeat rows dynamically.
    3) Testing form using xml data within designer works just fine.
    Requirement:
    Need to populate form dynamically using data from database.
    Solution:
    Found iTextSharp (free assembly) which assists with populating existing pdf form.
    Issue
    This assembly works without any issue when populating textfields (see sample code below). The problem I am facing is with the dynamic table where in I am not able to reference rows greater than 1. Since the pdf template contains a table with just one row referencing the first row using acrofield works.
    I was under impression since this is a dynamic table with repeat enabled, in asp.net if I referenced row2 onwards the table would grow automatically. Which I have come to realize is not going to be possible.
    So I am looking for ideas on how I can accomplish this. I wish this could have been a fixed row table then reference rows would have been easier. However in this situation the table has to be dynamic.
    Any ideas thoughts would be appreciated.
    Below is my sample code:
    PdfStamper ps = null;
    try {
    // read existing PDF document
    PdfReader r = new PdfReader(
    // optimize memory usage
    new RandomAccessFileOrArray(Request.MapPath("itext.pdf")), null
    ps = new PdfStamper(r, Response.OutputStream);
    // retrieve properties of PDF form w/AcroFields object
    AcroFields af = ps.AcroFields;
    // fill in PDF fields by parameter:
    // 1. field name
    // 2. text to insert
    af.SetField("txtCompany", "Company name");
    af.SetField("txtDateDepartLocation", "date depart location");
    af.SetField("txtDate","test date");
    af.SetField("txtServiceNumber", "Service number");
    af.SetField("Table2.Row1.Cell1", "1test");  this works
    //doesnt work!!!
    af.SetField("Table2.Row2.Cell1", "1test");
    af.SetField("Table2.Row3.Cell1", "1test");
    // make resultant PDF read-only for end-user
    ps.FormFlattening = true;
    // forget to close() PdfStamper, you end up with
    // a corrupted file!
    ps.Close();
    catch { }
    finally { if (ps != null) ps.Close(); }

    Hi FourEyes;
    Try using this.
    Select Col1, Col2, Col3
    into :P1_Field1, :P1_Field2, :P1_Field3
    from Your_Table
    Where (your conditions);

  • When I try to use the Submit Form button on the Interactive PDF I created (IN Design CS6) I get this message. "There is no value in form field 'Program.' Please put in it before proceeding. What can I do to fix this and make the Submit button work?

    When I try to use the Submit Form button on the Interactive PDF I created (In Design CS6), I get this message:
    There is no value in form field "Program." Please put in it before proceeding.
    How can I fix this and make the Submit Form button work?

    Are you running modified software on your phone?  This error seems to be common if the firmware has been modified and you're trying to restore the phone again. 

Maybe you are looking for