Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Normal HTML radio to Smarty {html_radios}

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
vickriz
Smarty Rookie


Joined: 27 May 2003
Posts: 16
Location: Philippines

PostPosted: Wed Aug 20, 2003 10:44 am    Post subject: Normal HTML radio to Smarty {html_radios} Reply with quote

hi again to all. im in a glips thats why i need some help again.

This is the normal HTML radio:
Code:
<input type="radio" name="civilStatus" id="Single" value="Single" onclick='disableSpouse()'>

my question is how can i use my javascript event inside this {html_radios}

this some part of my code:
Code:

<input type="radio" name="civilStatus" id="Single" value="Single" onclick='disableSpouse()'>
<a href="#" onclick='choose("Single");disableSpouse()' class="servernav">Single</a>&&
<input type="radio" name="civilStatus" id="Married" value="Married" checked onclick='enableSpouse()'>
<a href="#" onclick='choose("Married");enableSpouse()' class="servernav">Married</a><br>
<input type="radio" name="civilStatus" id="Widowed" value="Widow" onclick='enableSpouse()'>
<a href="#" onclick='choose("Widowed");enableSpouse()' class="servernav">Widowed</a>&&
<input type="radio" name="civilStatus" id="Separated" value="Separated" onclick='enableSpouse()'>
<a href="#" onclick='choose("Separated");enableSpouse()' class="servernav">Separated</a>&&


also regarding to .css how can i used my class type? pls help...
_________________
Very Happy
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Wed Aug 20, 2003 11:47 am    Post subject: Reply with quote

read the manual

http://smarty.php.net/manual/en/language.function.html.radios.php:
Quote:

...
All parameters that are not in the list above are printed as name/value-pairs inside each of the created <input>-tags.
...


HTH
messju
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP