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
BedrockMission!

Learn More

View all

Sign in to view all badges

Advice : JavaScript question

Avatar

Avatar
Validate 1
Level 1
plm668p14274902
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
plm668p14274902
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
plm668p14274902
Level 1

20-05-2016

Beginner advice :

1. script by default today's date how to express

2. default input convert lowercase to uppercase

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct Reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct Reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

24-05-2016

Hi,

to populate todays date use FormCalc in the docReady event.

if ($.isNull) then

     $ = Num2Date(Date(), "DD/MM/YYYY")

else

     $.rawValue

endif

To change lowercase to uppercase use JavaScript in the change event of your field.

xfa.event.change = xfa.event.change.toUpperCase();

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
plm668p14274902
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
plm668p14274902
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
plm668p14274902
Level 1

24-05-2016

thanks very much