Hi David, Thanks very much for the reply. if(.yourated == 'Good', 'on', 'off') - did not work. Tried if(.yourated == 'Good', 'true', 'false') - This too did not work.
Any other thoughts please... Thanks, Ravi. On Feb 11, 6:58 am, David Huynh <[email protected]> wrote: > chandu wrote: > > Hi David, > > > Thanks for the example. > > > In > > if(.yourated == 'Good', 'on', 'off') > > the double equals to gave a JS error while opening the lens. So > > changed it single equals to (though I know that it wont be correct). > > The approach did not work. I mean all theradiobuttons were getting > > presented but none is getting checked. > > Hi Ravi, > > Would you mind giving it another shot, with this expression instead? > if(contains(.yourated, 'Good'), 'on', 'off') > > David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
