158 reputation
19
bio website todayisaw.com
location
age
visits member for 2 years, 10 months
seen Apr 28 at 20:05

Nov
18
comment Front end submit form with jquery form plugin
Hey, if you have a chance, would this be the correct way of securing ? $title = $_POST['name'] = wp_filter_nohtml_kses( $_POST['name'] ); $content = $_POST['comment'] = wp_filter_nohtml_kses( $_POST['comment'] ); $email = $_POST['email'] = is_email( $_POST['email'] ); $url = $_POST['url'] = esc_url( $_POST['url'] );
Nov
17
awarded  Commentator
Nov
17
comment Front end submit form with jquery form plugin
One last question. Do any additional security measures need to be implemented in this?
Nov
17
awarded  Scholar
Nov
17
accepted Front end submit form with jquery form plugin
Nov
17
comment Front end submit form with jquery form plugin
yup! that worked. You did say that in your original answer, I just didn't read it carefully enough. Thank you so much!!!
Nov
17
comment Front end submit form with jquery form plugin
yes. name="form_sub". just like in my comment above.
Nov
17
comment Front end submit form with jquery form plugin
aha. cool. any idea why the submit is not working?
Nov
16
comment Front end submit form with jquery form plugin
btw, how do you post your code? I add the two `` but my comment doesn't look like yours.
Nov
16
comment Front end submit form with jquery form plugin
It's still not working. This is what I have on my template page <?php /* Template Name: Submit */ ?> <?php get_header(); ?> Form this <form action="" name="form_sub" method="post"> Name: <input type="text" name="name" /> Comment: <textarea name="comment"></textarea> <input type="submit" value="Submit" /> </form> <?php get_footer(); ?> I checked everything and can't seem to find where the mistake is.
Nov
16
comment Front end submit form with jquery form plugin
Thanks for your help. I tried a few times but nothing is submitting. I ll do a few more tests and let you know.
Nov
16
comment Front end submit form with jquery form plugin
that's how the example that I downloaded from here looked like. Two pages one with the form and the other with the processing code. How do I get the form data in functions.php?
Nov
16
asked Front end submit form with jquery form plugin
Nov
7
awarded  Tumbleweed
Nov
3
awarded  Editor
Nov
3
revised Custom fields won't update
added 1400 characters in body
Oct
31
asked Custom fields won't update