Show/Hide by Group javascript

dond

Member
How do I add groups to the list of elements in the JavaScript?
This is one of the features I use in Fab 2 a lot.

Thanks,
Don
 
had a feeling....lol
Please see the attachment.
I wish to have groups included in the 'Please select' list.

Thanks,
Don
 

Attachments

  • element_javascript.png
    element_javascript.png
    5.6 KB · Views: 237
... and what about adding "disable" (and maybe "enable" as well) in the action list? I mean where are already "show", "hide" etc. Is there any good reason why "disable" shouldn't be there?
 
the option is add and I've tested and it works.
Disable is trickier as some element types can't be disabled (e.g. a google map - so you would end up with inconsistent behaviour if you tried to disable a group for example.)

-Rob
 
Also remember that "disabled" inputs don't get submitted with the form, so will get blown away in your table when the form submits. And some input types, like SELECT, don't support the 'readonly' attribute. So it's kind of a can of worms ... something we might look at down the road, as most of the exceptions could be handled with element specific methods, but it'd be a lot of work.

-- hugh
 
Rob,

Was your reply to me? Wasn't sure. I downloaded the latest build and didn't see groups in the list.

Thanks,
Don
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top