Setting Radio Widget selection via JS

298 views
Skip to first unread message

onei...@gmail.com

unread,
Aug 20, 2014, 10:38:51 AM8/20/14
to suppor...@runmyprocess.com
Hi

I have a Radio widget

the radio widget is populated using a custom list as below:

Label Value
Apraisee Info Apraisee Info
Capabilties Capabilities

The Radio widget has the following properties:
Identifier = id_page
Value Variable = page_value
Label Variable = page_label


I want to, via a button widget's JS script, set the Radio widget to have the 'Capabilities' option as selected

Could you explain how I can do this? My attempt was as follows, but it doesn't work.

id_page.setSelectedValue("Capabilities");

Dimitri MELCHIOR Pro

unread,
Aug 20, 2014, 11:02:23 AM8/20/14
to RunMyProcess Support Forum
Hi Oneil,

Are you sure that id_page is the widgetID...

Anyway, you can also use that code (making sure the page_value is the variable) :

RMPApplication.set("page_value","Capabilities")

Best regards.

--

Dimitri MELCHIOR

PreSales Consultant

     

Fujitsu RunMyProcess user? Please add a review on GoogleApps Marketplace

Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité.
Be environmentally friendly: do not print this email unless it is entirely necessary.





--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/df910d75-0243-49a6-aaf4-840a125a7399%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

onei...@gmail.com

unread,
Aug 20, 2014, 11:19:41 AM8/20/14
to suppor...@runmyprocess.com
Hi Dimitri

yes that's the ID name - it may be misleading, but it's a widget I use to show the user which page is displayed. When I say page, it's a virtual page - I'm hiding or displaying elements accordingly to give the impression of pages

Your code worked, so thank you -again :)

Reply all
Reply to author
Forward
0 new messages