Hello, trying to write script on to fill my subform with data from a dropdown box.
this is what I have so far, but don't know script to use for the dropdown part of it.
(ServiceTypeLine1.rawValue = THIS IS WHERE I'M STUCK AS TO THE DROPDOWN BOX SCRIPTING NEEDS TO = ONE OF THE CHOICES IN THE DROPDOWN THAT I CREATED. otherwise IF IT'S NULL IT WILL BE HIDDEN)
{ServiceSubForm.presence = ("visible") IF ='S THE DROPDOWN THEN MAKING SUBFORM VISIBLE.
}
TY
Views
Replies
Total Likes
Answered myself.
(ServiceTypeLine1.rawValue == null)
{
ServiceSubForm.presence
= ("hidden")
}
else
{
ServiceSubForm.ServiceTypeField.rawValue
= ServiceTypeLine1.getDisplayItem(ServiceTypeLine1.selectedIndex);
ServiceSubForm.presence
= ("visible")
}
Views
Replies
Total Likes