• Resolved Guido

    (@guido07111975)


    Hi you all,

    Several months ago I’ve build a simple contactform plugin:
    http://wordpress.org/plugins/very-simple-contact-form/

    I’ve received some help with the validation and sanization part of my plugin, because that’s too much for me. I’m not a programmer.
    But a plugin user told me the validation and sanization part is pretty lousy 🙁

    So I’m looking for someone who can check my plugin and improve this part of the plugin.

    Guido

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Guido

    (@guido07111975)

    Hi again,

    I have worked on it myself but still have a question.

    I check input with my own validation-code (called vscf_clean_input), can I add the sanitize_text_field function in same array? Or will this cause a conflict?

    $post_data = array('your_name' => vscf_clean_input (sanitize_text_field($_POST['your_name'])))

    Guido

    Hi Guido,

    it is totally ok to do that this way.
    You could also sanitize the text field within your function.

    Best!

    Thread Starter Guido

    (@guido07111975)

    Hi,

    Great, thanks a lot!

    Guido

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need help with Validation and Sanitization contactform’ is closed to new replies.