|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
funk101 Smarty n00b
Joined: 29 Jun 2004 Posts: 2
|
Posted: Tue Jun 29, 2004 1:30 am Post subject: html_options |
|
|
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 |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Tue Jun 29, 2004 1:54 am Post subject: |
|
|
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 |
|
funk101 Smarty n00b
Joined: 29 Jun 2004 Posts: 2
|
Posted: Tue Jun 29, 2004 3:28 am Post subject: thanks |
|
|
Yep, you were right. Thanks. |
|
Back to top |
|
|
|
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
|