Contact Form

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54591
    squallhajime
    Spectator
    Hi Support, Below is the contact form code that I am using. <h5>Send us a message</h5> [form to="[email protected]" subject="Subject"] [form_element type="text" validate="required" options="" placeholder="Name"] [form_element type="text" validate="required" options="" placeholder="Email"] [form_element type="text" validate="" options="" placeholder="Phone"] [form_element type="textarea" validate="" options="" placeholder="Message"] [form_element type="submit" validate="" options="" placeholder="Send Message"] [/form] How can I add in such that:
    1. A @ sign is required in the email input
    2. Phone input can only be numbers but optional
    Please advise Thanks and Regards
    #54722
    Anshuman Sahu
    Keymaster
    Well for the emails field please select the email type field in the form shortcode . refer : http://prntscr.com/bjlh0v refer : http://prntscr.com/bjlh90
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Contact Form’ is closed to new replies.