I want to use the toggle button (highlighted below) in my user interface - similar to that used in the Profile Settings --> Email notifications interface.
Is this available anywhere or on the Appmarket?
Thanks!
Discussion posts and replies are publicly visible
a!localVariables( local!value: true, a!richTextDisplayField( value: { a!richTextItem( size: "MEDIUM_PLUS", text: { a!richTextIcon( icon: "toggle-on", showWhen: local!value = true, link: a!dynamicLink( saveInto: { a!save(local!value, false) } ), linkStyle: "STANDALONE" ), a!richTextIcon( icon: "toggle-off", showWhen: local!value =false, link: a!dynamicLink( saveInto: { a!save(local!value,true) } ), linkStyle: "STANDALONE" ) } ) } ) )
Hi, you can use Rich Text Display Field containing a Rich Text Icon using the "toggle-on" / "toggle-off" icons. And on links use dynamic link to update the variable value.
thanks Aditya - will give it a go!
Hi, Please up vote as well :)
even better - when you're the poster of the topic, you also get a "verify answer" button appearing on submitted answers. But yes I agree, it's customary and helpful to give out the "green" lol - and preferably in order of answer submitted