Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Change style dynamically with javascript and usehref

$
0
0

Hello guys,

 

I'm using Livecycle designer and I'm trying to dynamically change the style of a TextField with javascript.

In the xml windows i've noticed the assigned style is stored in the usehref tag.

However if I try somthing like that in the "click" event of a button :

 

TextField.usehref = ".#som($template.#subform.designer__stylesheet.TextFieldStyle)";

 

This makes the TextField disappear.

 

Perhaps i'm doing something wrong, or maybe I have to somehow reload the layout ?

 

Thanks !


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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