ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Contact form

December 17, 2008 5:38pm

Subscribe [1]
  • #1 / Dec 17, 2008 5:38pm

    quena

    66 posts

    A contact form on my site is linking and redirecting to the right page after a successful submission, but the “Thank You” message isn’t customized (it still says “Click here if you are not redirected automatically”). Here’s the form code:

    {exp:email:contact_form user_recipients="false" recipients="[email protected]" return="http://www.mysite.com/next-steps/|Click here to get involved in other ways."}
    <input type="hidden" id="subject" name="subject" value="MySite.com form" />
    <input type="hidden" name="message[]" value="Add my endorsement!" />
    <input type="text" id="email" name="name" size="35" maxlength="35" value="{if member_name}{member_name}{if:else}Your name{/if}" />
    <input type="text" id="email" name="from" size="45" maxlength="35" value="{if email}{email}{if:else}[email protected]{/if}" />
    <input type="text" id="street" name="required[]" size="45" maxlength="35" value="Your street address" />
    <input type="text" id="street2" size="45" maxlength="35" />
    <input type="text" id="city" name="required[]" size="20" maxlength="35" value="City" />, 
    <input type="text" id="state" name="required[]" size="2" maxlength="2" value="State" /> 
    <input type="text" id="zip" name="required[]" size="12" maxlength="10" value="Zip" />
    
    <input type="submit" value="Add my endorsement!" />{/exp:email:contact_form}

    Any idea why the redirect link wouldn’t be, “Click here to get involved in other ways”?

  • #2 / Dec 17, 2008 9:05pm

    Greg Aker

    6022 posts

    Greetings Quena:

    Can you please give it a try with the Contact Form code that is illustrated in the docs?  I’d like to make sure that ExpressionEngine is behaving properly with standard tags before dealing with customization.

    Also what version/build are you running?  Both values can be found in the footer of your control panel.

    -greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases