WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Select* Required Field Not Working (18 posts)

  1. realtyexpertise
    Member
    Posted 1 year ago #

    Takayuki Miyoshi or anyone who can help,

    I notice that "Select*" does not work and that the form doesn't recognize if the field is filled in or not. Even when it is filled in it keeps asking to "Please fill the required field." The field works once I remove the "*" from the coding but I need the fields to be required. What is going on with the fields and how do I fix it? Please advise. Thanks!

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Where can I check the site?

  3. realtyexpertise
    Member
    Posted 1 year ago #

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    How did you add the select elements?

  5. realtyexpertise
    Member
    Posted 1 year ago #

    I used both copy/paste/reedit code and generate tag.

  6. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    What is the exact tag?

  7. realtyexpertise
    Member
    Posted 1 year ago #

    <p>Best Time
    [select* best-time tabindex:5 include_blank "Anytime" "Before Noon" "Afternoon" "Evening"] </p>

    <p>Contact By
    [select* contact-by tabindex:6 include_blank "Email Only" "Phone Only" "Email and Phone"]</p>

    <p>Are you a veteran?
    [select* veteran tabindex:12 include_blank "Yes" "No"] </p>

    <p>Have you been employed more than 2 years?
    [select* employed-more-than-2-years tabindex:11 include_blank "Yes" "No"] </p>

    <p>Foreclosure or a short sale within the past three years?
    [select* foreclosure-short-sale-within-three-years tabindex:13 include_blank "Yes" "No"] </p>

    <p>Property Type (required)
    [select* property-type tabindex:14 include_blank "Primary Residence" "Second Home" "Investment Non-Owner Occupied"] </p>

  8. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    The current state of the form is not like that by looking at the HTML source. I guess you have modified HTML manually, and that is the cause of the problem.

  9. realtyexpertise
    Member
    Posted 1 year ago #

    You just asked for the tag, you didn't ask for the complete form. Here it is below. And also I did modified the HTML manually, but I also created a new form and just used the generate tag without modifying anything and the required field still didn't work.

    <div style="background-color:#FFFFFF; border: solid 1px #C0C0C0; padding:10px; width:98%; border-radius:4px; box-shadow: 10px 10px 5px #888888; ">
    
    <p style="text-align: center;"><span style="color: #5192d9;"><strong><span style="font-size: medium;">Pre-Qualification Form</span></strong></span></p>
    <span style="font-size: medium;">Please fill out this completely confidential form:
    </span><em style="font-size: medium;">Your information is 100% confidential and will never be shared with anyone
    
    <em style="font-size: medium;"><span style="font-size: medium;">Your confidential information will be sent directly to Valentina Herzog, Broker of Realty Expertise, for a complete review, and you will soon be personally contacted by Valentina Herzog, via your preferred method of contact. If this is an urgent matter please call us at 702.373.7565.</span>
    
    <span style="font-size: medium;">We look forward to working with you. Thank You!</span>
    
     
    
    <table><tr><td>
    
    <p>First Name (required)
       [text* first-name tabindex:1] </p>
    
     <p>Phone (required)
       [text* phone tabindex:3] </p>
    
    <p>Best Time [select* best-time tabindex:5 include_blank "Anytime" "Before Noon" "Afternoon" "Evening"] </p>
    
    </td> <td style="width:25px">
    </td>
    <td>
    
    <p>Last Name (required)
       [text* last-name tabindex:2] </p>
    
    <p>Email (required)
       [email* email tabindex:4] </p>
    
    <p>Contact By [select* contact-by tabindex:6 include_blank "Email Only" "Phone Only" "Email and Phone"]</p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p>Address (required)
       [text* address 91/100 tabindex:7] </p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p>City (required)
       [text* city tabindex:8]</p>
    
    <p>Employer (required)
       [text* employer tabindex:10]</p>
    
    <p>Are you a veteran? [select* veteran tabindex:12 include_blank "Yes" "No"] </p>
    
    </td> <td style="width:25px">
    </td>
    <td>
    
    <p>Zip (required)
       [text* zip tabindex:9] </p>
    
    <p>Have you been employed more than 2 years? [select* employed-more-than-2-years tabindex:11 include_blank "Yes" "No"] </p>
    
    <p>Foreclosure or a short sale within the past three years? [select* foreclosure-short-sale-within-three-years tabindex:13 include_blank "Yes" "No"] </p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p><span style="color: #5192d9;"><strong><span style="font-size: medium;">TYPE OF PROPERTY YOU ARE PURCHASING</span></strong></span></p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p>Property Type (required)[select* property-type tabindex:14 include_blank "Primary Residence" "Second Home" "Investment Non-Owner Occupied"] </p>
    
    <p>Property City (required)[text* property-city tabindex:16]</p>
    
    </td> <td style="width:25px">
    </td>
    <td>
    
    <p>Listing Price (required)[text* listing-price tabindex:15]</p>
    
    <p>Property Zip (required)[text* property-zip tabindex:16]</p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p ><span style="color: #5192d9;"><strong><span style="font-size: medium;">LOAN INFORMATION</span></strong></span></p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p>Loan Amount (required)[text* loan-amount tabindex:17]</p>
    
    <p>Monthly Gross Income (required)[text* gross-income tabindex:19]</p>
    
    </td> <td style="width:25px">
    </td>
    <td>
    
    <p>Down Payment (required)[text* down-payment tabindex:18]</p>
    
    <p>Monthly Debt* (required)[text* monthly-debt tabindex:20]</p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p>*car payments, credit cards, alimony or child support etc... (not to include rent or mortgage payment) </p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p> Additional Information [textarea additional-information 40x5]</p>
    
    </td></tr></table>
    
    <table><tr><td>
    
    <p>[submit " SUBMIT "]</p>
    
    </td></tr></table>
    
    </div>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still - use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

  10. realtyexpertise
    Member
    Posted 1 year ago #

    I just created a new form and used the generate tag without making any manual modifications to it and the required selection drop box didn't work. Here's the link.

    http://67.225.198.9/~realtyex/3619-2/

  11. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    <select style="width: 232px; name="BestTime" class="wpcf7-form-control wpcf7-select wpcf7-validates-as-required">

    This is what I see in the HTML source of http://67.225.198.9/~realtyex/3619-2/. Obviously invalid and modified manually.

  12. realtyexpertise
    Member
    Posted 1 year ago #

    I didn't modify it. You are the support tech, don't tell me that I modify something when I didn't. You are suppose to help me, not chastise me for something I didn't do. WordPress changes html coding all the time in the background without my knowledge, can that be why it was modify??? How can I fix this problem??? Isn't that your job to let me know how to fix this? If you can't help me fix this, then tell me that you can't fix this so I can figure out another solution.

  13. esmi
    Forum Moderator
    Posted 1 year ago #

    You are the support tech

    Whoah cowboy! There are no "support techs" on here. Only the developer of a free plugin trying to help you.

    You are suppose to help me
    [...]
    Isn't that your job to let me know how to fix this?

    Incorrect - on both counts. A plugin developer is under no obligation to help you or anyone. That he does so freely says great deal about his integrity and commitment to the users of his otherwise excellent plugin.

    I suggest you now take a few deep breaths, calm down and try to continue this discussion in a calm and civil manner.

  14. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    OK. Sorry for that. I have no intention of blaming you. Just telling a fact that the HTML is not the same as what it should be, and it is the direct cause of the issue.

    If you don't know the reason of the change of HTML output, try deactivating all other plugins and switching to the default theme. It is possible that they interrupt output.

    And, please note that this is not my job. I and other answerers on this forum are all volunteers.

  15. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Oh, thanks esmi.

  16. realtyexpertise
    Member
    Posted 1 year ago #

    Excuse me but it was civil. Did I curse or call him a name? No. Did I use bold/cap text? No. He accuse me of doing something that I didn't do and talk down on me. That was disrespectful on his part to talk down on me like I am a child. I came here looking for help and he accuse me of doing something I didn't do and talk down on me so I responded accordingly to his response in a calm manner. This is a support forum correct? If someone has a problem, they come here for help and solutions. If he can't help me then he should just say he can't help me. I'm looking for solutions, not to be talk down upon.

  17. realtyexpertise
    Member
    Posted 1 year ago #

    Okay, I'm sorry for misreading your reply Takayuki.

    That's what I figure, that the theme might be interfering with the plugin because it's also interfering with other plugins I'm using. Thanks for the help and I understand now that you are a volunteer and that this isn't your job. I really do appreciate your help.

  18. esmi
    Forum Moderator
    Posted 1 year ago #

    I came here looking for help

    Then I suggest you moderate your responses. Thus far, they are not conducive to obtaining help. Calling a plugin author "a suppport tech" and telling him that it is his job to help you? Do you really think that endears you to anyone?

    This is a support forum correct?

    These are community forums where no one is obliged to provide help but where people often do because...well, they're nice like that. They're also international forums, so you should bear in mind that the person responding to you may not be using his/her native language and give them the benefit of the doubt accordingly.

    There were no accusations thrown your way. Merely a statement of opinion. If you chose to read it another way, that is your prerogative. You can also either calm down & stop accusing anyone of talking down to you or you can use another plugin. Your choice.

    Choose wisely.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic