LiveCycle LifeLine Weblog

Disabling Form Fields with validation

January 28, 2009 · 3 Comments

Many a times you would like to perform field level validations, before submitting the form by email. Also a lot of you would like to hide the submit button when the form is emailed to the end user
I have included a simple form which demonstrates this capability
Please click here to get the pdf
Click Here to get the pdf
Let me know if you have any further questions

Categories: Submit PDF by Email
Tagged: ,

3 responses so far ↓

  • Fernando // February 16, 2009 at 3:40 pm | Reply

    Hi!
    First of all, thanx for all the useful tips I’ve found in this site.

    I’m working with LiveCycle, and created a pdf form with a button that sends the filled form via email.
    What I want, is the ‘Send’ button to not appear in the filled pdf received via email (so the receiver can’t email the form again). I’ve tried what you are saying here, but can’t get it working.
    Ive written the javascript code in ‘Mouse Down’ event but when I receive the copy, the button is enabled again. I’ve tried to do it in other events (preSend, onClick, etc) and while it disables the button in the ‘to-fill’ pdf, it’s fully functionable again in the received-by-email pdf…

    Any ideas?
    Thanx in advance

  • Tarek Faham // October 29, 2009 at 12:35 pm | Reply

    Hi,

    Could you please tell me how to show the fields as Disabled, meaning that they look like In-Active or dimmed. Setting the property “access” as “readOnly” does work, but the field still looks active.

    Appreciate your help.

    Tarek.

Leave a Comment