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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Scripting width on Date field in HTML form livecycle

Avatar

Level 1

Hi,

So i have a PDF form which i want to render on a server as a HTML form. My only problem is that when it's rendered as HTML i want to expand the width of a Date field because of the icon (Red/Gray calendar thingy) that shows up when it's HTML. So on initialize on the field i've scripted:

if(xfa.host.appType == "HTML 5") {

     date_field.w = "36mm";

}

else {

     date_field.w ="21mm";

}

But this wont work. It seems it is impossible to change the Width with script. Allthough according to the Livecycle documentations it should be possible.

I dont want to have multiple fields and show or hide them, i would like to do this as dynamical as possible.

Any ideas or tips? Is it possible to "turn off" the icon that shows up when it's rendered as HTML?

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now