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_options

 
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 -> Plugins
View previous topic :: View next topic  
Author Message
funk101
Smarty n00b


Joined: 29 Jun 2004
Posts: 2

PostPosted: Tue Jun 29, 2004 1:30 am    Post subject: html_options Reply with quote

When using a "multiple" select box, is there a way for html_options to recieve an array of "selected" values to determine which values should be selected? Just simply sending an array in the $selected var does not work.
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Tue Jun 29, 2004 1:54 am    Post subject: Reply with quote

That is exactly how it should work, an array of values for the selected parameter should result in preselected items that match the values parameter. Double-check your setup and values getting passed.
Back to top
View user's profile Send private message Visit poster's website
funk101
Smarty n00b


Joined: 29 Jun 2004
Posts: 2

PostPosted: Tue Jun 29, 2004 3:28 am    Post subject: thanks Reply with quote

Yep, you were right. Thanks.
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 -> Plugins 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