modifier access to field value
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
modifier access to field value
When I loop through a group of controls by the modifier, I know how to change its properties like setDisplayOnly() and setHidden() but is there a way to set the value for all controls using the value property
0 x
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Something like this should work:
Code: Select all
for each (var ctrl in pages.Page_1.getControlsByModifier("mod1"))
{
if (ctrl.field)
{
ctrl.field.value = "xxx";
}
}
0 x
Who is online
Users browsing this forum: No registered users and 128 guests