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

html_select

 
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 -> Feature Requests
View previous topic :: View next topic  
Author Message
Enquest
Smarty Regular


Joined: 14 May 2003
Posts: 79

PostPosted: Mon Jun 02, 2003 7:43 am    Post subject: html_select Reply with quote

with HTML_SELECT it would be great that a option when selected the it automated select so you don't have to add a submit button!
_________________
-----------------------
Learning my self by trying to help others
Back to top
View user's profile Send private message
user2222
Smarty Rookie


Joined: 18 Apr 2003
Posts: 7

PostPosted: Mon Jun 16, 2003 9:01 am    Post subject: HTML_SELECT Reply with quote

Yes, I think it's a good idea.

Moreover, I think that the javascript function should be an attribute that should be assigned to every SELECT / RADIO BUTTON object.

Having such object is like habing a javascript function with :
Code:
 go(url) ...


Good Work.
User2222 Idea
Back to top
View user's profile Send private message
gsmurf
Smarty n00b


Joined: 15 Feb 2004
Posts: 3

PostPosted: Sun Feb 15, 2004 2:51 pm    Post subject: Reply with quote

ho yes, it's wiil be fine to have this plugin !!! Very Happy
Back to top
View user's profile Send private message
messju
Administrator


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

PostPosted: Sun Feb 15, 2004 4:14 pm    Post subject: Reply with quote

all attributes you add that are not known and processed by html_options, are appended as attributes to the <select>-tag:

so (OTOH):
{html_options name=foo options=$list onchange="this.form.submit()"}
should and an onchange-attribute to the select-list.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cibouseb
Smarty Rookie


Joined: 15 Apr 2004
Posts: 6

PostPosted: Fri Apr 16, 2004 9:31 am    Post subject: Reply with quote

messju wrote:
all attributes you add that are not known and processed by html_options, are appended as attributes to the <select>-tag:

so (OTOH):
{html_options name=foo options=$list onchange="this.form.submit()"}
should and an onchange-attribute to the select-list.


It is possible to make the same thing with 'HTML_SELECT_DATE' ?

Thanks for yours answers.
Sebastien
Back to top
View user's profile Send private message
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 -> Feature Requests 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