This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

Stop form spam with a hidden CSS field


  1. richardduboi
    Member

    I want to use a hidden form field to block automated spammers and bots. I´ve heard that it is quite effective.

    I want to create an empty form field and hide it using CSS. I want to set up my form so it checks if this field is filled in, if it is filled then the email will not be send away. This works very well against automated spam robots because they fill in all the fields without using CSS in general. It should not affect any real visitors since all browsers that are used supports CSS.

    My question is: is it possible wit machForm? And if it is, how do I put a hidden field in my form?

    Regards,

    Richard D

    Posted 10 years ago #
  2. williamansley
    Member

    @richardduboi: This sounds like an interesting idea. You can make a hidden field easily. Just add the built-in class name "hidden" (no quotes, of course) to the "Custom CSS Class" field at the bottom of the "Field Properties" tab for that field. Unfortunately, I don't think this is well documented on the Appnitro website yet. The field won't be hidden in the Form Editor, but you can confirm it works by viewing the form.

    Please report back to let us know how this works out for you.

    Posted 10 years ago #

RSS feed for this topic

Reply