Announcement

Collapse
No announcement yet.

Form fields retaining previous values

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Form fields retaining previous values

    Hello,

    Problem: Form fields in my pdf are retaining values from the previous submission.

    What I need: I'd like the form fields to be empty when the pdf is opened.

    Description:

    I have a pdf with form fields that are used to store answers to questions.

    The answers are written to the form fields by javascript on a button click.

    There is one question per page and the form field to store the answer for that question is defined on that page (but hidden).

    The last page of the pdf has all the form fields listed.

    When I open the pdf and go to the last page, I see all the previous answers in the form fields.

    The PDF will be used by a sales rep at a customer location and there is a button that emails the completed PDF to me.

    I am using FoxIt PhantomPDF Business edition ver 9.0.1.1049

    Question: Is there a way to have all the form fields be empty when the pdf is first opened?

    Thanks

    robertg

  • #2
    read the value every time form the hidden field in the servlet, ... Subject: RE: [java-l] Retaining form value across all servletDate: Wed, 4 Feb ... as the original post, if included, especially if you have made changes to the code.
    <a href="https://buyfollowerscanada.com/"> followerscanada </a>

    Comment


    • #3
      rgentile

      Would you please help to send us the sample form file in question for further test? If it is inconvenient to upload here, you may email the PDF document to [email protected]. Thank you in advance.

      Comment


      • #4
        lyndi_wu, please see attached proof of concept pdf.

        Thanks
        Attached Files

        Comment


        • #5
          rgentile

          Please refer to the attached demo, you can get the JS used via Form-> Document Javascript.



          Attached Files

          Comment


          • #6
            Hi,
            I'm new here
            Can I know how to insert a table in Foxit PDF?

            Comment


            • #7
              How can I add the standard division symbol?
              (not the slanted line)

              Comment


              • #8
                TBK 1. May I know what kind of table do you want to insert? please provide detailed for reference. tks.
                2. Currently, division symbol isn't provided by Foxit directly, can you please enter it by your input method? such as Google. tks.

                Comment


                • #9
                  Thanks for the file lyndi_wu. Does putting the script in Forms > Document Javascript, cause it to automatically execute when the pdf is opened?

                  robertg
                  Last edited by rgentile; 11-05-2020, 05:03 PM.

                  Comment


                  • #10
                    rgentile ,Thanks for your reply.Yes,we have added scripts in the demo document for resetting form fields when open this PDF form file.
                    Please refer to attached screenshots to know the document Javascripts that I mentioned.

                    Any further questions or concerns,please contact us any time.
                    Attached Files

                    Comment

                    Working...
                    X