ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Making form secure

October 01, 2012 6:21pm

Subscribe [2]
  • #1 / Oct 01, 2012 6:21pm

    osjoe2

    2 posts

    Hello everyone,

    I have this form on my site which will take input submitted by a user and post it into a custom channel. I am unsure of how to validate each field to make sure no HTML or any other code is added to the fields to try to deface the page.
    Here is the code for the form:

    
    									
  • #2 / Oct 03, 2012 10:43am

    Shane Eckert

    7174 posts

    Hello osjoe2,

    Thank you for your question.

    Have a look here and read about using inline errors. That is the first thing that comes to mind. Make sure the data you want is being submitted.

    Anything beyond this, you may want to look into some PHP or other scripting to check.

    Is there anything else I can help you with?

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases