[buddypress-trac] [BuddyPress Trac] #7287: xProfile multi select box output: Include option IDs

buddypress-trac noreply at wordpress.org
Fri Oct 14 14:49:22 UTC 2016


#7287: xProfile multi select box output: Include option IDs
------------------------------+-----------------------------
 Reporter:  henry.wright      |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Extended Profile  |    Version:
 Severity:  normal            |   Keywords:
------------------------------+-----------------------------
 Hi guys,

 Here's a snippet of front-end output when using the multi select box
 xProfile field type:

 {{{
 <select id="field_436[]" name="field_436[]" multiple="multiple">
     <option value="Afrikaans">Afrikaans</option>
     <option value="Albanian">Albanian</option>
     <option value="Arabic">Arabic</option>
     <option value="Azerbaijani">Azerbaijani</option>
     // More
 </select>
 }}}

 Is there any chance we can output option IDs too? Something like:

 {{{
 <select id="field_436[]" name="field_436[]" multiple="multiple">
     <option value="Afrikaans" id="6583">Afrikaans</option>
     <option value="Albanian" id="6584">Albanian</option>
     <option value="Arabic" id="6585">Arabic</option>
     <option value="Azerbaijani" id="6586">Azerbaijani</option>
     // More
 </select>
 }}}

 Note checkbox output already has option IDs.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7287>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list