WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Sort order for select fields (2 posts)

  1. sarikaflint
    Member
    Posted 1 year ago #

    Hi there,

    I have a drop down box with about 20+ options, and I want to randomize the order in which they appear every time the page loads.

    I tried going through the source files to see where I could add in something like PHP's shuffle() function to the array of options, but couldn't find it (perhaps need more coffee).

    Strange request I know but, PLEASE add a sort order option for the select boxes, or if you could point out where I could add such a thing myself would also be much appreciated.

    Great plugin! :)

    http://wordpress.org/extend/plugins/contact-form-7/

  2. biswajeet
    Member
    Posted 1 year ago #

    You need to modify such custom requirement outside of CF7. Better use jQuery to achieve such objective...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic