Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

Scripting width on Date field in HTML form livecycle

$
0
0

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?


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>