Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

html_options

 
Post new topic   Reply to topic    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: 7367
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:   
Post new topic   Reply to topic    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