Contact Form 7
Custom Shortcodes and required fields... (1 post)

  1. tuttle425
    Posted 4 years ago #

    I am using CF7 to make a simple job application for on a site. To populate the jobs list I used a shortcode to query the jobs custom post type. This all works great but I am having a hard time making that dropdown a required field.

    Here is the code for the form item:

    [pos-list selected-pos id:selected-pos]

    Here is the shortcode code which is in the functions.php file:

    [Code moderated as per the Forum Rules. Please use the pastebin]


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