Contact Form 7
[select] field with blank element issue (3 posts)

  1. vugluskra
    Posted 4 years ago #

    I have found strange cf behaviour when the form contains an [select] fileld with "include_blank" parameter. Example form:

    <p>Answer<br />
    [select* your-answer include_blank "No" "Yes"]</p>
    <p>[submit "Send"]</p>

    On page loaded, the blank element (---) preseted in the "your-answer" field. After clicking the "Send" button, i see the "Your message was sent successfully" box and the message is actually sent without error.

    After clicking the "Send" button again the "strange behaviour" begins. The "your-answer" field clears (no item selected, must be "---" selected). The "spinning arrows" is spinning infinitely. No any error messages.

    What expected: blank item must be selected into the "your-answer" field. Validation error tooltip and message must be shown.

    Documentation and FAQ dont helps. Sorry for my english...


  2. vugluskra
    Posted 4 years ago #

    Edit: from PHP error log:
    [Thu Oct 20 02:19:37 2011] [error] [client] PHP Notice: Undefined index: your-answer in censored\\modules\\select.php on line 135

  3. vugluskra
    Posted 4 years ago #

    Help me please :)

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