Lock form upon submission
Hello, all!
I know this questions has been asked and posted before throughout these forums, but none of the answers seem to work for my situation.
I created a fillable form in Adobe LiveCycle. This form is submitted via e-mail. I need this form to be locked/uneditable when it is sent so that the recipient cannot alter it.
I know it's possible, but I have limited coding knowledge and can't seem to make it work. Any help would be monstrously appreciated. =D
Also, once the file is sent (I have it set to be sent as a .pdf), is there any way to change the file name of the attachment?
OK: form is submitted via e-mail
OK: I need this form to be locked/uneditable when it is sent so that the recipient cannot alter it. (FLATTEN)
OK: I know it's possible, but I have limited coding knowledge and can't seem to make it work. Any help would be monstrously appreciated. =D
OK: Also, once the file is sent (I have it set to be sent as a .pdf), is there any way to change the file name of the attachment?
Check out www.pdfemail.net
PDFEmail.net can send PDF form submissions in FDF, XFDF, XDP, XML & PDF formats with Adobe Reader and ASP.net. PDFEmail.net works without any programming required. PDFEmail.net allows you to setup attachment formats and filenames, e-mail message fields, and user responses or redirects.
Using your own SMTP server, PDFEmail.net sends the form submissions without client side e-mail software such as OUTLOOK. Just create the scripts on a workstation, and upload the package to your virtual directory on your ASP.net web server, and set the submit action to point to the script.
Similar Messages
-
Converting (locking) form upon submission.
HI All. I have a product sample submission form for my laboratory. The form has multiple fields that are filled out by the requestor and a Submit button that will mail a copy to a domain. When I send the form now, it does not lock the fields and can still be edited. I would like for it to lock the field and send what I call a "normal" .pdf, (like when you convert a .docx to a .pdf). Is that possible in LiveCycle? I would like for the form to not be editable once it is sent, as well as to be smaller in size. (3MB after submission currently).
Try the LiveCycle Designer forum. This forum is about forms created in Acrobat.
-
Reset form upon submission extension?
IS t here an extension that will force all form vaules to be reset upon form submission please?
Try this script:
This goes in the head area:
<script language="javascript">
function reset() {
document.name_of_form.name_of_textfield.value="";
document.name_of_form.name_of_textfield.value=""; // and so on until you list each field
</script>
This goes in the body tag: OnLoad="reset()"
So the body tag will look like this:
<body OnLoad="reset()">
I tested this and it works.
So the first thing you need to do is to make sure that your form has a name (for example, name="form1"). Then you need to make sure each of your fields are name (for example, name="first_name" or name="email").
So, using the example above, you would replace the name_of_form with form1 (if you named your form, "form1") and also replace the name_of_textfield with the actual name of your textfield. So let's say you named your form form1 and your first text field first_name, your second text_field last_name, and a third email. Here's now your code would look:
<script language="javascript">
function reset() {
document.form1.first_name.value="";
document.form1.last_name.value="";
document.form1.email.value="";
</script>
Basically, the code says in this document reset the first_name field in form 1 to empty ("").
You may want to try just the first two fields first to make sure everything is working before writing the whole script. -
I have a form that when the submit button is selected, it locks a subform and sends a pdf doc. However when I open the document it unlocks the form allowing for edits. How do I prevent this from happening? I'm LC Designer ES 8.2.1
Did you add script to lock the sub-form upon submission? Field locking is not default behaviour.
If you want the form to be non-editable by users subsequent to the original save, you will either have to flatten the document (make it not interactive basically) or add script to make fields read only.
Steve -
Rename PDF file upon submission
Is there a way to append the senders name or an instance name to the PDF filename upon email submission?
Right now, I haven't figured out how to flatten the form upon submission so I'm going to post the form online as it is... The recipient will receive the form (not the static PDF I eventually want) with the same name every time & have to remember to rename it uniquely each time it is received... I don't really want to have to make them do that just in case they forget & it overwrites an existing file...
Any assistance on how to call the Output.transformPDF would be helpful as well. Not sure how to code it...you can use setDocAttribute(document,"wsfilename","newFileName") function to rename the pdf,
for your other issue you can use the workflow to create a simple process which transforms the PDF, if you need any help on that email me
[email protected], will be more than happy to help you out -
How to Close InfoPath Form After Submission When Two Buttons Exist?
I have an browser-enabled InfoPath 2010 form that has two views and a submit button on each view. The form would correctly submit and close the form using one button on the form until the second button was added. After adding the submit button on a second
view, the second button submitted/closed but the behavior on the first view changed so that the form no longer closes after submission. I’ve researched this and have not yet found a solution to allow closing the form after submission for one of the buttons.
Things I’ve tried:
- I’ve attempted creating multiple submit data connections for the different buttons
- Specifying different Submit Options
- Try closing the form with the code
- Add another button to the non-closing view
- Add duplicate Rule actions to "Close this form: No Prompt"
Settings:
Button rules:
- Submit using data connection: SharePoint Library Submit
- Close this form: No Prompt
Button Properties:
- Action > Rules and Custom Code
The form Submit Options:
- Send form to a single destination (a form library)
- Choose a data connection for submit (SharePoint library submit)
- Advanced > After Submit: Close the form
Advanced form options:
- Filler Features: all items unchecked (not allowing Save, etc.)
- E-Mail Attachments: uncheck Enable InfoPath e-mail form functionality for this form template
Resources:
When considering programmatically submitting and closing the form, I understand from this article that the Rules run before code and I can’t close the InfoPath form programmatically by writing code behind a button that has a rule set on it:
http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
Discussion of creating a custom Save and Submit buttons for InfoPath browser forms:
http://markhaverty.com/sharepoint/custom-save-and-submit-buttons-for-infopath-browser-forms/what if you need to switch views?
I have the same problem in a similar situation. I created a test button to narrow down the cause. the button submits data & closes the form fine. however when I add a rule to switch views before the submit & close rule, it
breaks. Submit still works but it no longer closes the form. If I disable the switch-view rule, then it closes fine.
I tried added another rule to switch back to the main view but that didn't help.
switching views is an integral part of the workflow b/c I want to email the alternate view upon approval & then close the form. So removing that rule is not a good answer unfortunately. -
Hide/show a form upon button click
Hi
I want to show/hide different form upon button clicks. Also I want to clear the data from a form upon button clicks. How can I achecive this? Thanks in advance.Hi,
Create one boolean variable in your datastore. Click of the button should set the value to false and you can bind the same variable to the visibility property so that you can hide and display accordingly. For making the values blank, you can put condition on the detault value formula IF(!<your datastore variable>,"",<value needed>)
Regards,
Murtuza -
CFDiv - clearing the form after submission
I am using cfdiv with a data entry form and on submission writes the values to a db, works great, but, how can I clear the form after submission?
reloading the page loads it in the cfdiv.
TIA
JbirdTo where are you submitting this form? Also, are you submitting as a get or a post?
-
Clear form upon opening document
I have a two page form. I can clear the first page by clearing it on opening via the page property opening actions - clear form ... but if I do that and scroll to the second page and back to the first .. I loose everything that was entered as I guess I'm "reopening" the page. Is there a way I can clear the form upon opening the document with a document level javascript??
Thanks in advance ...
SteveThanks ...
I used this to cover all the fields and it worked:
this.resetForm(["Name","Date","Q1","Q2","Q3","Q4","Q5","Q6","Q7","Q8","Q9","Q10","Q11","Q1 2","Q13","Q14","Q15","Q16","Q17","Q18","Q19","Q20"]);
I tried using the expression /^Q/ rather than type out all the Q1, Q2, etc but couldn't get it to work ... so typed it all out ... is there and easier way for me to do this in the future?
Thanks again
Steve -
Form email submission with limited locked fields
Hello,
I've been reading through forum after forum and piece-mealing together what I need isn't working. I'm COMPLETELY unexperienced with any kind of JavaScript changes or additions to forms in Adobe (I do not have or use LiveCycle), so I'm struggling a bit. I have a lot of relatively complex forms, but only complex in how many different fields/types of fields. So, what I need is this:
Form #1:
I need to create a submit button at the bottom of the form that will do two things:
Lock all editable fields
Email the locked PDF (preferably without having to be saved and then attached to an email)
Submit button should disappear
Form #2:
Different individuals need to complete different sections of the form, but there are no signature fields. Here's the order of what I need to happen after the first person completes their sections and clicks a "submit" button:
Specific fields (not all) need to be locked
The form needs to attached to an email (without having to save and then attach)
Submit button needs to disappear
After the receivers (Persons 2 and 3) complete the final field it needs to lock and email to the final person in the chain.
(For clarity; the final field is a field that will be text, and will not be able to be completed without all the other information)
If someone could assist me with the specific script, as well as confirm what selections I need to make for the button (ie Mouse Up, Mouse Enter, etc.) and other fields that control locking, that would be tremendously helpful. Thank you.Check if you have any hidden fields on the form which are required..
If not, some how the disabled may not be working as expected..
If you still have issues, you can send your form to [email protected] so I can have a look at it..
Thanks
Srini -
I know that the 'email' feature can be added but it requires you to input the recipients name manually. Instead, I'd like to add the email recipients in order to choose from a drop down. Is there a way to do this?
Hi Steven,
Yes, Its possible which behaves as system CFL.
Design the form like cfl having grid, choose button, cancel button and edittext of find. When you tab on edittext on form open the CFL form and after load form fill the grid by Datatable using sql query. Write code for select grid line on click of grid. Write the code on choose button which retrive value from grid.
Thanks,
Mahesh -
How do I create a PDF form for submission that can be used by Acrobat Reader only users?
I am attempting to create a PDF document in Acrobat Pro with fields that can be submitted (via email) by users using only Acrobat Reader.
I have tried changing the properties of the 'Submit' button, although I am not sure what I am doing wrong.
Can anyone please help?
C.I created a form using Adobe LiveCycle and added the submit via e-mail button. One change which I made was in the XML script I changed submission type to pdf, so that thepdf form itself would be e-mailed. This works fine if I use Adobe Pro 8, but when I tried the same using only Adobe Reader 7.0, it would not let me e-mail the form along with a message "This operation is not permitted".
Any comments?
Thanks -
Attaching files to a PDF form and Submission.
I'm pretty new to LC (hence the sn) and running into a little problem. Currently, I have created a form that allows the attachment of files. Everything is fine and dandy as I am able to ADD, OPEN and DELETE any file as I'm filling out the form. However, when I SUBMIT the form in an email to myself, the submitted PDF form does not have any of the files attached to the form. What am I not doing? Any help would be greatly appreciated! Thanks in advance.
Hi, I'm responding on behalf of AdobeNoobie122...
Thanks for your response Paul. I’m currently using LC to develop/run the PDF. It is in the PDF that I attach the files associated with my form and submit to myself. Upon receiving the email, I notice the PDF is present without any of the attachments. And yes, I am submitting the entire PDF and not a data file. -
Can't open word doc that is a locked form
I received a word doc in which the main text is locked, it contains form fields and those can be updated and saved. I tried to open this in Pages '09, it started, I got the progress bar, but as it got close to the end, Pages hung and I had to force quit.
I'm running 10.6.1 and Pages 4.0.3 (766) - I checked Software Update to make sure I had the latest of everything.
Is there a way to access this document using Pages? Is this a bug? or is it an explicitly unsupported capability?Microsoft inserted a propection scheme in their program.
It's not the job of Apple engineers to do reverse engineering to remove the key.
If someone send you a document that you must edit, it's it's duty to send you an unprotected doc … or buy for you a copy of Office so you will be able to open the doc if he give you the key.
In short, there is no bug but a logical deliberate feature.
I would be surprised to read that Microsoft offer to their customers a key to open encrypted Apple disk images.
Yvan KOENIG (VALLAURIS, France) mercredi 28 octobre 2009 19:04:53 -
Preventing sensitive form re-submission
I want to prevent the refresh/re-submission of form on the server side(not using javascript).There is some way of using tokens in session and request to validate the request from the client.But I am not very sure how to go about it.Can anyone elaborate the same for me..Thanks in advance....
You're on the right track. To use tokens, there should be a number stored in the session, and that same number placed in a hidden field in the form.
Before serving the form, create a unique key - new Date().getTime() gives you a long with millisecond precision. Store that number in the session and also place it in a hidden field in the form. When the form is submitted, check the hidden against the number in the session. If they match, the form submission is valid; remove the key and process the form. If the user tries to submit the same form by using the "back" button, the number in the form no longer has a match in the session, and you reject the form submission.
example:
in the jsp that generates the form:
<%
// create a number unique to the current millisecond
long key = new java.util.Date().getTime();
// place it in the session to be looked up later
session.setAttribute( "formKey", Long.toString( key ) );
%>
<form>
<!-- put the form key in the form -->
<input type="hidden" name="formKey" value="<%= key %>">
</form>in the code that processes the form:
String key = request.getParameter( "formKey" )
String sessionKey = (String)session.getAttribute( "formKey" );
if ( key.equals( sessionKey ) ){
// process the form
} else {
// key is not valid - send some error message
}
Maybe you are looking for
-
Line items processing in BAPI_REQUISITION_CREATE
Hi all , Inside the loop i would like to check the line items conditions for below : PO Line item Open Po Quantity Need Requsted Quantity 444444 1 80000 40000 444444 1 80000
-
Help in this for 3 and a half hours now and really nervous bout it. adobe photoshop cc 2014 crashes at startup / solely photoshop : lightroom illustrator indesign okay / GC driver up to date (nvidia 740M) / windows 8 / uninstalled software and reinst
-
Status gui, text elements and screens in Abap in Eclipse
Hello everybody, Today i start using AiE, but i see that i can't create status gui, text elements and screens, the only method to achieve this is open sap gui (from eclipse) and create this directly there. I don't know if i am doing something wrong b
-
Listening to external speakers as well as the internal speakers
Does anyone know if I am able to plug in some external speakers into my imac and be able to listen to my internal speakers at the same time. Right now, If I hook up a wireless transmitter to my imac via the headphone jack, to transmit the signal to a
-
Mountain Lion vs. Itunes.
Finally got my Imac to start and now Itunes won't run. Can you help me there?