vxda Posted June 28, 2013 Share Posted June 28, 2013 Hi there, im new to PW, was trying to look for answer in forums but couldnt find any. My problem is with FormTemplateProcessor. Im creating fileds via Admin field options and one of my field is "select" im using this plugin -> Fieldtype: Select (AKA Drop Down) . In Field options i created 3 select option : option one option two option three In front end side i got my select showing up and it 3 options in it but they are empty like this: <select id="Inputfield_typeOfArea" name="typeOfArea"> <option value="" selected="selected"></option> <option value="option one"></option> <option value="option two"></option> <option value="option three"></option> </select> As you see value is correct but option tag is empty ;/ what im doing wrong ? Ty Link to comment Share on other sites More sharing options...
adrian Posted June 29, 2013 Share Posted June 29, 2013 (edited) Hi Ty, Welcome to PW. I haven't used either of those modules, so I might be totally off here, but I wonder if the FormTemplateProcessor is incompatible with the Select Fieldtype module. Not sure if you have read about Page fields:http://wiki.processwire.com/index.php/Page_Field At first it may seem like more work, but there are lots of advantages to created selects like this, rather than using the select module. Please try that and let us know how you go. Also, it would be useful if you show us your template code so we can see how you are initiating the FTP module. Perhaps someone else who has used both together might be able to chime in with a solution. EDIT: Apparently I should have looked a how the select module actually works - thanks Soma Edited June 29, 2013 by adrian Link to comment Share on other sites More sharing options...
Soma Posted June 29, 2013 Share Posted June 29, 2013 Try 1:=option1 Link to comment Share on other sites More sharing options...
vxda Posted June 30, 2013 Author Share Posted June 30, 2013 Try 1:=option1 Yep that did they job, problem solved. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now