Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

PDF Form - remove buttons?

LEGEND ,
Mar 23, 2009 Mar 23, 2009
I am working on a small government site that will contain a number of
PDF forms which can be completed online and submitted via 'cfpdfform'.
So far i have the submission working great, saving a copy of the actual
completed pdf on the server and stripping out all of the submitted data
, which is saved in a database with a datestamp and other important info.

These forms are being created in LiveCycle by staff members, with
specific formatting and details determined by them. Fortunately CF makes
it super easy to 'talk' to these forms.

The only issue I cannot sort out at this stage - each form has a
"submit" button, which passes the data and the PDF itself to a receiving
coldfusion page. When viewing the stored copy of the PDF after
submission, along with all the user's info filled in, the 'submit'
button is still there. This means the user can submit a form, click a
link to view/print his completed copy, and then easily click the
'submit' button again, going round and round.

*Q*
Is it possible to remove or disable specific PDF Form buttons with
coldfusion?

I looked at the 'flatten' option, but that appears not to work with
LiveCycle created forms.

--
Michael Evangelista, Evangelista Design
Web : www.mredesign.com Blog : www.miuaiga.com
Developer Newsgroups: news://forums.mredesign.com
3.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 21, 2009 Aug 21, 2009

Did you ever get an answer to this, Michael? It's eluding me at the moment.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 18, 2009 Nov 18, 2009

What I've done is:

  1. Put a hidden field in the PDF form called processed.
  2. Set it's value to 0
  3. Make sure it is not included in the signature controlled list if you use a signature. 
  4. Have the submit button check the value of the processed field and if it is 0 submit the form.
  5. When the form arrives on the server pull the form field values into an XML document
  6. Update the processed field with a value of 1.
    1. Write the PDF to the file repository with the XML document and overwritedata set to "yes"

This will allow the user to click on the Submit button all they want but because you've changed the value of processed to 1 it won't submit again.

Kevin

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 06, 2011 Apr 06, 2011
LATEST

That sounds really technical, how do you go about that?

More importantly; is there a way to use that technique to simply remove the "Submit form" button?

We need the forms editable by advisors around the country, it has to be possible to save the form; but we don't need the email option since the forms have to be printed and then signed by our customers before they have any value to us.

Thank you / Best regards,

Harald Johnsen Vøyle

Mac Designer

Pitney Bowes Management Services Norway AS

Dokumentsenteret Nordea, Oslo

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources