We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How to select from multiple statuses on channel form

How Do I?

bobural's avatar
bobural
20 posts
7 years ago
bobural's avatar bobural

I have one channel with 4 statuses: open, closed (the default ones) and blue and green

in my channel form I have: <pre><code> {exp:channel:form channel="my-channel" include_assets="no"}

<label for=”status”>Status</label> <select name=”status” id=”status”> {statuses} <option value=”{status}”{selected}>{status}</option> {/statuses} </select>

<input type=”submit” value=”Submit”> {/exp:channel:form} {/code]

My question:

In the above menu all my statuses are displayed…. is there a way I can have only my “blue” and “green” statuses displayed?

Thank you, all.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.