Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Contact form in themes
#1
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
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>
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
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#2
Connie Wrote:I do not find that "set_contact_page() in the docs (ihttp://get-simple.info/docs/theme-codex/)

Sorry about that theme [WatchThis] - it's outdated. GetSimple does not come shipped with a contact forum anymore as it was buggy and turning it into a plugin was a much better idea. I will fix today in the repository.

Your best bet is to use the p01-contact plugin as it is the best one available.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
Chris,

thanks for the info!

There are more themes which still come with the contact.php and outdated form..

so I wil not use these and add the plugin

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#4
thanks for sharing.... thanks again
Reply




Users browsing this thread: 1 Guest(s)