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 !
Views
Replies
Total Likes
Hi again,
I think I was not clear enough. Basically I have a textfield assigned with a style, let's say TextFieldStyle1. What I want is to programmatically assign the textfield another style, say, TextFieldStyle2.
How can I achieve that ?
Many thanks !
Views
Replies
Total Likes
I'm too looking for a solution to that problem. UP !!!
Views
Replies
Total Likes
C'mon people, this is a pretty basic thing, there has to be an easy way to do this.
Please help !
Views
Replies
Total Likes
I'm frustrated to admit that I too can't seem to solve this one.
Views
Replies
Total Likes
There is no way to change the usehref property at runtime I believe as it is only referenced once at the template load time (the moment when the form is opened).
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies