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

  1. sarikaflint
    Posted 2 years 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! :)


  2. biswajeet
    Posted 2 years 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

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic