AshRich38
Community profile AshRich38 Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 14-01-2014 7:38:18 AM
Offline
Top badges earned by AshRich38
Customize the badges you want to showcase on your profile
Adding 30 Business days to a date field
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
I'm trying to add 30 business days to a date field. The client I initially had only gave me a +30 days so I just used:FloatingDate = Num2Date(Date2Num($.formattedValue, "YYYY-MM-DD") + 30, "YYYY-MM-DD") however, they now need it in business days specifically. I've been looking into a possible solution using javascript, but it's honestly been a while since I've touched javascript and I'm a bit rusty when it comes to grabbing the date and adjusting the times. Any assistance would be greatly apprec...

Views

125

Likes

0

Replies

1
Re: Setting focus and nulling a field after a Length check
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
I've uploaded a couple images with the code and the result. It doesn't seem to be working...Not sure why. I even created a new form to see if it was a problem with the other one.

Views

561

Likes

0

Replies

0
Re: Setting focus and nulling a field after a Length check
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
Unfortunately at work we're restricted from using Google drive.Are you using this on a static pdf? I've always been creating in Dynamic. It's just an odd issue. It should be working but it's not.

Views

361

Likes

0

Replies

0
Re: Setting focus and nulling a field after a Length check
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
This doesn't seem to be preventing text input. Also, it's supposed to be on the change event? I did have the limit set to 9 previously but would still like the input of letters to be prevented. I would still like it to prevent that input. It doesn't need to null the field just the text. Example:Outcome: 111-111-111 (can be done with the patterns)User input: 111111x11I would like that x to be prevented from being input. I can either null the whole field as to start again or prevent that input dir...

Views

363

Likes

0

Replies

0
Re: Setting focus and nulling a field after a Length check
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
I'm limiting the text field to only allow numbers for the if statement and the else if should check if it's more than 9. I could always use a numeric with the limit I guess but I prefer to do it this way.Either way, it's not functioning. After 9 digits it's not nulling or setting focus. If I have an app alert or a message box it will show up but it does not prevent the user from inputting more than 9. It'll just tab to the next field.

Views

357

Likes

0

Replies

0
Re: Setting focus and nulling a field after a Length check
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
No, I had realized that after I had submitted the question, it is not in the original code. Thanks though!

Views

356

Likes

0

Replies

0
Setting focus and nulling a field after a Length check
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
I have a form I'm working on which requires some basic length checks but I'm having trouble with one of my fields. In the change event I have this:if (xfa,event.newText.match (/[^0-9/) !== null){ this.rawValue = null; xfa.host.setFocus(this);}else if (xfa.event.newText.length > 9){ this.rawValue = null; xfa.host.setFocus(this);}but it will not null the field or set the focus to the field when it fails either check. I'm not sure what the problem is though.Thanks!

Views

1.3K

Likes

0

Replies

10
Re: How can I duplicate a signature?
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
Is there any scripting that can be used to cause it to replicate on another page? It's important for this work since the second and third pages are exact copies of the first page.

Views

385

Likes

0

Replies

0
How can I duplicate a signature?
Avatar
Validate 1
Level 1
AshRich38
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
AshRich38
- Adobe LiveCycle
The project I am working on has a few times where this shows up. The signature on the first page carries over to the second and 3rd pages. I know how to duplicate the other fields with the Global option but is it possible to allow a signature to do the same thing. So once the first page has been signed it will automatically sign the last 2 pages?i tried to add through XML and only received errors.Thanks.

Views

2.8K

Likes

0

Replies

2
Likes given to