Skip to main content
Participant
December 23, 2008
Question

Blank field in CFML form

  • December 23, 2008
  • 1 reply
  • 489 views
Can someone help me - I am not a CFML programmer but need to adjust a form made by someone else to include a hidden formfield that needs to stay blank in order for the form to validate. Our forms our constantly being hit by spammers and we do not want a captcha due to accessibility.
    This topic has been closed for replies.

    1 reply

    Inspiring
    December 23, 2008
    on your results page,
    <cfif len(form.Hidden_field_that_must_be_blank) is 0>
    good
    <cfelse>
    bad
    </cfif>
    Participant
    December 23, 2008
    Thank you for your reply - I pasted the code below - Can you tell me where to put the code you suggested?