Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-10-18 16:36:42

JPM
Member
Registered: 2007-09-19
Posts: 1

security restriction on Form button

Greetings -

Is there a way to put some type of security on a Form button?  I would like to restrict who can use it.

Thanks.


My Product Information:
Acrobat Pro 8 / Windows

Offline

 

#2 2007-10-19 09:08:26

pddesigner
Member

Registered: 2007-04-24
Posts: 55

Re: security restriction on Form button

You did not mention if the form was developed in LiveCycle or Acrobat.

Use this JavaScript for the button (in Acrobat) for the Action property for the mouse up event:

var pwd = app.response("What is the password?","Security Check","",true)

if (pwd != null)    {
    if (pwd == "Vegas")    {
this.mailDoc(true, "dump@epubservice.com", "", "", "Translation Service Survey");
            app.beep()
            app.alert("Your survey has been submitted." , 1)
    }
    else
        app.alert("That is not the password!\n\n(Hint: It's the Acrobat User Group location in Nevada where you learn all there is to know about Adobe Acrobat and have fun with your money.)")

}

Note: Change the password (pwd), email address (dump@epubservice.com), Subject(Translation ..) and alert message to your requirements. Only persons with the password will be able to open or submit your form.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in