Advice : JavaScript question

Avatar

Avatar

plm668p14274902

Avatar

plm668p14274902

plm668p14274902

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

radzmar

MVP

Avatar

radzmar

MVP

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

plm668p14274902

Avatar

plm668p14274902

plm668p14274902

24-05-2016

thanks very much