Forums / Setup & design / Feedback form with <select> element
Radic Radovan
Tuesday 08 November 2005 8:16:05 am
Hello,
I need to have contact form where user could choose what product he wants to get more information on the address. I extended feedback form and added "Selection" datatype with 3 options. Now, what do i need to do in order to show this select box to the user? I overrided feedback_form.tpl template and added {attribute_view_gui attribute=$node.object.data_map.product} but it only shows text representation of the first element in the options. How could i force it to show <select> and iterate through options?Also, how could i collect product information that user have selected?
Thanks,Radovan
Gurudutt Verma
Wednesday 09 November 2005 1:20:32 am
Hi Radicr Radovan!
eZSelection datatype can not set for information collection.
Please try to use eZOption or eZMultiOption datatype to meet your requirements.
Ćukasz Serwatka
Wednesday 09 November 2005 1:24:50 am
Look also on
http://ez.no/community/forum/developer/multiple_selection_information_collector
and
http://ez.no/community/forum/general/option_datatype_as_information_collector
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Wednesday 09 November 2005 1:47:27 am
Thank you guys for the help one more time.
(Hint for the forum developers:)In my message subject there is select tag, and when i do reply on this page i can see an empty select box. Maybe they should strip tags, or add slashes on html tags.
Radovan
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs