2011-03-02, 19:51:48
I am astonished and have a question:
I tested some themes. Some come with contact.php, f.e. WatchThis or InsAcademy
When I use the contact-template for a contact site, I get the following situation:
1) there are 2 contact forms
2) the captcha shows the string which should be entered in CapitalLetters, but exprects them in lowletters
3) the second form below the first one shows a input-field, which is not self-explanatory:
I assume it is created by
What is the sense of this input field?
4) the code in the contact.php is mostly:
when I take out there is only one form left...
I do not find that "set_contact_page() in the docs (ihttp://get-simple.info/docs/theme-codex/)
Now, please tell me how the contact form is correct?
Any help/insight would be great!
Cheers, Connie
I tested some themes. Some come with contact.php, f.e. WatchThis or InsAcademy
When I use the contact-template for a contact site, I get the following situation:
1) there are 2 contact forms
2) the captcha shows the string which should be entered in CapitalLetters, but exprects them in lowletters
3) the second form below the first one shows a input-field, which is not self-explanatory:
I assume it is created by
Code:
<p class="pot" ><input class="text" type="text" value="" name="contact[pot]" /></p>
What is the sense of this input field?
4) the code in the contact.php is mostly:
Code:
<form action="<?php get_page_url(); ?>" method="post" class="contactform" >
<p><?php set_contact_page(); ?></p>
<p><label>Name:</label> <input class="text" type="text" value="<?php print($_POST['contact']['name']); ?>" name="contact[name]" /></p>
<p><label>Email:</label> <input class="text" type="text" value="<?php print($_POST['contact']['email']); ?>" name="contact[email]" /></p>
<p><label>Subject:</label> <input class="text" type="text" value="<?php print($_POST['contact']['subject']); ?>" name="contact[subject]" /></p>
<p><label>Message:</label> <textarea class="text" name="contact[body]" ><?php print($_POST['contact']['body']); ?></textarea></p>
<p class="pot" ><input class="text" type="text" value="" name="contact[pot]" /></p>
<p><input type="submit" value="Send Email" id="contact-submit" name="contact-submit" /></p>
</form>
when I take out
Code:
<p><?php set_contact_page(); ?></p>
I do not find that "set_contact_page() in the docs (ihttp://get-simple.info/docs/theme-codex/)
Now, please tell me how the contact form is correct?
Any help/insight would be great!
Cheers, Connie
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18