Sending PDF using value from email text field as recipient (sharing menu) + signature box issue
Hello board !
I’m new over there and after spending some times on this board I wasn’t able to find my answers.
I’m building a PDF designed to be a form to fill on a tablet (iPad or Android) to make contract agreement for a bike rental company.
The goal is to save actions & time as much as possible to complet the form.
The form contain personal info to fill, including some dates and check box, and a handwritten signature on the end.
The final action is to send the contract to the customer by mail, using the value he put in the mail text field.
I’m very close from the result I want but I stuck for 2 things :
- I wish being able the trigger the signature window when the customer hit the signature box. For now, hitting the signature box is opening a textfield inside even when it’s set to « Signature » or « Signature box » field. So I have to do it manualy with the button « Sign », create a new signature, uncheck « Save signature » button, let the customer sign then put the signature on the right place with good size.
- I wish sending the form to the costumer once it’s completed, without going in the mail text field, tap on the text to get the dropdown menu, « select all », « copy » then sharing the document with the sharing button, share with GMAIL, then paste the text in clipboard in the mail recipient and finally « Send ». That’s the process, it’s working but it’s quite repetitive and bit long, even more when there is several customers at the same time.
- If the action above isn't possible with JS, is there a way to create a button in the PDF to copy the email text field to the clipboard ?
Finding a better solution for this two technical parts would be amazing but my coding skill is poor but I can figure this out with a little help.
I already put some JS to set the date to today by default when opening the document, it was very understandable thanks to a step by step tutorial.
Can you guys help me through this please ?
