Hi Ravi,
Thanks for the info. Have you tried something along this line?
<input type="radio" ex:name-subcontent="radiogroup-{{value}}"
ex:checked-content="if(.yourated == 'Good', 'on', 'off')">Good
<input type="radio" ex:name-subcontent="radiogroup-{{value}}"
ex:checked-content="if(.yourated == 'Bad', 'on', 'off')">Bad
<input type="radio" ex:name-subcontent="radiogroup-{{value}}"
ex:checked-content="if(.yourated == 'Soso', 'on', 'off')">Soso
Note that radiogroup-{{value}} generates a string unique to the current
item, in order to group together those 3 radio buttons.
David
thotakura ravi.chandu wrote:
> Hi David,
>
> Thank you very much for the reply.
>
> Please follow the URL to access my work.
>
> http://uatcentos.alliance-consulting.com/user_interface/
>
> This page gives you 3 options. Please click on the 3rd radio button
> and provide 't_ravichandu' as the user name and please click on
> 'Continue' button.
> In the next page please click on the button 'Clear Dates' and then on
> the same page click on the button 'View Trails'. This will take you
> to the main Exhibit page.
> Click on any time line items to get the lens.
> The lens is a bit modified by us.
> In the lens please observe the last text box for '*You
> Rated (Good/Soso/Bad) :' *and the widget script for this text box
> looks similar to the following.
>
> <input type="text" name="you_rated" ex:value-content=".yourated">
>
> 'You Rated' was supposed to be a list box with 3 options 'Good',
> 'Soso', 'Bad'. Since, we did not know of a way to populate the
> default value (let's say 'Soso') we have used a text box.
>
> Could you please let me know a way of using a select box and also a
> set of radio button in this scenario for 'You Rated'.
>
> Thanks in advacne,
>
> Regards,
> Ravi.
>
> On Thu, Feb 5, 2009 at 9:54 PM, David Huynh <[email protected]
> <mailto:[email protected]>> wrote:
>
>
> chandu wrote:
> > Hi,
> >
> > Can some one help me by giving the way to select an option by
> default.
> >
> > I'm using a list box and a set of radio buttons in the call out and
> > need to populate them with the default value selected previously by
> > the user.
> >
> Ravi,
>
> We'd love to help you, once you provide more information about the
> problem, starting with which widget you're using (Timeline? Exhibit?
> Timeplot?...), and including the kind of info suggested here:
>
> http://code.google.com/p/simile-widgets/wiki/HowToAskForHelp
>
> David
>
> Live a beautiful LIFE.
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---