Dropdown Fields
Posted: 01 July 2007 08:56 PM   [ Ignore ]
Member
RankRankRank
Total Posts:  129
Joined  2007-03-12

Hi there,

Is there an option to define a field as a dropdown menu?

 Signature 

Steven Hambleton | Follow me on Twitter!


ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 01 July 2007 09:02 PM   [ Ignore ]   [ # 1 ]
Member
RankRankRank
Total Posts:  129
Joined  2007-03-12

Ah just seen it in the docs smile

 Signature 

Steven Hambleton | Follow me on Twitter!


ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 02 July 2007 12:47 AM   [ Ignore ]   [ # 2 ]
Member
Avatar
RankRankRank
Total Posts:  292
Joined  2005-07-09

Excellent self-support, stinhambo. Carry on smile

 Signature 

Ingmar Greil

Profile
 
 
Posted: 17 February 2008 04:53 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  18
Joined  2007-01-22

Hmm from the looks of things I have it setup properly but I’m having an issue with a drop down select field.

I have embedded into my freeform tags:

<select name="product[]" style="width: 250px;" id="product" />
<
option value="">--Select the Product Category--</option>
{exp:weblog:entries weblog="productCategory" style="linear" sort="asc" dynamic="off"}
<option value="">{title}</option>
{/exp:weblog:entries}
</select

The HTML output source of this template is:

<select name="product[]" style="width: 250px;" id="product" />
<
option value="">--Select the Product Category--</option>
<
option value="">Napkins</option>
<
option value="">Plastic Containers &ampDrinking Cups</option>
<
option value="">Food &ampBeverages</option>
<
option value="">Paper Hot Cups</option>
<
option value="">Bags Paper</option>
<
option value="">Foam Cups &ampLids</option>
<
option value="">Wrapped Hot Cups</option>
<
option value="">P.E.TCups &ampLids</option>
<
option value="">Tissue Products</option>
</
select

I have a field in Freeform called ‘product’ and it’s just a text input box.

The form submits fine (not that I have a required on ‘product’ but the ‘product’ field is always empty.

I’m using 2.6.3 - any ideas?

Profile
 
 
Posted: 17 February 2008 04:56 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  18
Joined  2007-01-22

Hahahhaa as soon as the page refreshed and I saw my code I saw it.  Brain spasm!

*Runs for Coffee*

I guess I’ll need to put a value in those option fields huh! wink

My only excuse is that it’s Monday.

Thanks again for the great module.

Profile
 
 
Posted: 18 February 2008 11:49 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8290
Joined  2006-10-18
danethomas - 17 February 2008 04:56 PM

I guess I’ll need to put a value in those option fields huh! wink

Haha, yeah, that wouldn’t hurt grin

 Signature 
Profile
 
 
Posted: 25 February 2008 08:49 PM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  5
Joined  2008-02-18

danethomas,

I’m trying to accomplish the same thing. I just received a reply from Pie Man to embed a template instead (http://www.solspace.com/forums/viewthread/675/). I’m going to give that method a try. Still, I’m confused why your nested weblog inside FF works for you. ?

Profile