Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

greggsmith1247
greggsmith1247
Offline

Badges

Badges
7

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
14

Discussions

Discussions
0

Questions

Questions
5

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by greggsmith1247
Customize the badges you want to showcase on your profile
Re: how to lock form prior to submit as pdf but AFTER validation check - Adobe LiveCycle 10-02-2011
Paul's solution worked perfectly. What was strange was if I tried to protect the whole form inside my:if (form1.execValidate() == true){ form1.MainPage.Submit.presence="invisible"; app.runtimeHighlight = false; form1.access="protected";}the fields were not protected and it was basically ignored when using the script in a pre-submit event. It did work in a post-submit event.If I used:if (form1.execValidate() == true){ form1.MainPage.Submit.presence="invisible"; app.runtimeHighlight = false; form1...

Views

251

Likes

0

Replies

0
Re: how to lock form prior to submit as pdf but AFTER validation check - Adobe LiveCycle 08-02-2011
I read that thread but I couldn't figure out how to get "LockAllFields" to work.I've been working on this for several days...It comes down to this:If I putform1.access="protected"; in a post-submit it will lock the form but not the submitted pdfIf I put that exact same script in a pre-submit it just ignores it and doesn't lock the form.Why does this have to be so complicated, lol. All I want is the ability to, pending a successful form validation, lock all fields prior to submission so the recip...

Views

252

Likes

0

Replies

0
how to lock form prior to submit as pdf but AFTER validation check - Adobe LiveCycle 07-02-2011
I have this javascript on my form submit button, (which submits as a pdf.) form1.MainPage.Submit::preSubmit:form - (JavaScript, client)if (form1.execValidate() == true){ form1.MainPage.Submit.presence="invisible"; form1.access="protected";}The problem is I do not want the form fields to be protected until all fields have been validated. After validation I want the entire pdf locked before the pdf is submitted. I have this script in the pre-submit event but it is ignoring the "form1.access="prote...

Views

3.6K

Likes

0

Replies

4
Re: Same script..works in one form but in another keep getting "Date is not a constructor" error. - Adobe LiveCycle 03-02-2011
BROO1 nailed it. I had a field named "Date". Changing this to UsageDate fixed the issue and the script time stamped the form just fine. Thank you very much!

Views

547

Likes

0

Replies

0
Re: Same script..works in one form but in another keep getting "Date is not a constructor" error. - Adobe LiveCycle 02-02-2011
still didn't work. I've used this script in other forms without a problem. Exact same script in this form...not working.. I'm totally stumped.

Views

389

Likes

0

Replies

0
Re: Same script..works in one form but in another keep getting "Date is not a constructor" error. - Adobe LiveCycle 02-02-2011
As you instructed: form1.MainPage.DateTimeStamp::ready:form - (JavaScript, client)if (this.rawValue==null){ var now=new Date(); this.rawValue=now.toDateString()+""+now.toTimeString();}give me this still...

Views

388

Likes

0

Replies

0
Re: Avoiding Saving-Window when signing? - Adobe LiveCycle 02-02-2011
I struggle with this also and have found no solution yet. Our users use machines are used by multiple shifts and I don't want any forms saving locally. I would love to implement digital signing but forcing a save kills that idea.

Views

242

Likes

0

Replies

0
Same script..works in one form but in another keep getting "Date is not a constructor" error. - Adobe LiveCycle 02-02-2011
Using this javascript in one of my forms to timestamp it, (just a simple protected text field.) form1.MainPage.DateTimeStamp::docReady - (JavaScript, client)if (form1.MainPage.DateTimeStamp.rawValue == null) { var now = new Date(); form1.MainPage.DateTimeStamp.rawValue = nowtoDateString() + now.toTimeString(); }This timestamps the form as it should. The problem is on another form I'm building I'm using the identical script, (with different absolute paths of course,) and I keep getting a javascri...

Views

2.1K

Likes

0

Replies

7
Re: problem with postSubmit event - Adobe LiveCycle 23-12-2010
Thank you Niall.  Perfect solution.

Views

390

Likes

0

Replies

0
problem with postSubmit event - Adobe LiveCycle 22-12-2010
I have a submit button in my form. Just a regular button set to submit http data to a url in utf-8 encoding. It submits to my server fine, etc.The problem I'm having is that I want the form to lock AFTER it is submitted so the user cannot edit it again.I have tried putting javascript in a postSubmit event .... form1.access="protected"; .... for example. It works. When the user clicks on submit the form will submit (IF all the fields set to required are filled in,) then all the fields in the form...

Views

1.2K

Likes

0

Replies

3