• Anonymous User 7669681

    (@anonymized-7669681)


    Is there a way to not allow someone to input commas? I ask because I want the info I receive in the email to be in a format I can add to a CSV and import into a database.

    Example of Form on website

    Please use the form below when joining.
    <p>Name of Community    [text* field_378] </p>
    <p>Address: Line1    [text* field_379_line1] </p>
    <p>Address: Line2    [text* field_379_line2] </p>
    <p>City    [text* field_671] </p>
    <p>State    [text* field_672] </p>
    <p>Zip    [text* field_380] </p>
    <p>Website:    [url field_381] </p>
    <p>Admin's Name: First    [text* field_387_first] </p>
    <p>Admin's Name: Middle    [text* field_387_middle] </p>
    <p>Admin's Name: Last    [text* field_387_last] </p>
    <p>Admin's Phone    [tel* field_389] </p>
    <p>Admin's Email    [email* field_390] </p>
    <p>Additional Notes    [textarea field_382] </p>
    <p>[submit "Send"]</p>

    Emailed response

    From: [your-name] <[your-email]>
    Subject: [your-subject]
    
    Message Body:
    [your-message]
    
    --
    This e-mail was sent from a contact form on iACT (http://)
    
    Import Data:
    
    "System Header Row DO NOT DELETE THIS ROW OR THIS COLUMN!",[field_378],[field_379_line1],[field_379_line2],[field_671],[field_672],[field_380],[field_381],[field_387_first],[field_387_middle],[field_387_last],[field_389],[field_390],[field_382]

    Or, if someone has a different/better way of doing this same thing I’m totally game. 🙂
    Z

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

  • The topic ‘No Commas?’ is closed to new replies.