Jump to content

Form submit error


verbob

Recommended Posts

Whenever I try to submit a ticket or use contact form, it says basically that i never entered anything in the form.(the page goes to the "next step", but indicates that I didn't enter anything in the input boxes)

 

This was working fine when I originally set it up a couple months back, although I have no idea when it stopped working as I only just had it pointed out to me.

 

Any ideas what it may be?

 

The contact.php file is encrypted, so I can't trace any code in there(and it should be fine anyway), so here is the code in the contact.tpl file:

 

<p>{$LANG.contactheader}</p>

{if $sent}

<p align="center"><strong>{$LANG.contactsent}</strong></p>

{else}
<p><strong>If you are an existing client, click <a href="**url removed**">HERE</a> to submit a support ticket</strong></p>

<form method="post" action="contact.php?action=send">

{if $errormessage}<div class="errorbox">{$errormessage|replace:'<li>':'  #  '}  #  </div><br />{/if}

<table cellspacing="1" cellpadding="0" class="frame"><tr><td>
<table width="100%" cellpadding="2">
<tr><td width="100" class="fieldarea">{$LANG.contactname}</td><td><input type="text" name="name" size="30" value="{$name}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactemail}</td><td><input type="text" name="email" size="50" value="{$email}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactsubject}</td><td><input type="text" name="subject" size="60" value="{$subject}"></td></tr>
<tr><td class="fieldarea">{$LANG.contactmessage}</td><td><textarea name="message" rows=8 style="width:95%">{$message}</textarea></td></tr>
</table>
</td></tr></table>

{if $capatacha}<p align="center">{$LANG.imagecheck}<br /><img src="includes/verifyimage.php" align="middle"> <input type="text" name="code" size="10" maxlength="5"></p>{/if}

<p align="center"><input type="submit" value="{$LANG.contactsend}"></p>

</form>

{/if}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated