Buy Now
Sign in

Recaptcha Pass/Failing

efh68 , September 23 2019, 13:57
E
efh68 25
September 23 2019, 13:57 #389280
I am having this weird issue where recaptcha is failing and the system message saying the form has been successfully submitted. In this case I am trying to get recaptcha to fail, but the email are still being sent. The forms were set up using the easy builder mode. Joomla 3.9.11 and PHP 7.3.0.
E
efh68 25
September 25 2019, 15:24 #389298
Array
(
[chronoform
  • => contact-us-copy
    [event] => submit
    [name] => Testing Test
    [email] => edmund.harvey@aciwebs.com
    [message] => test
    [g-recaptcha-response] =>
    [button4] =>
    [format] => html
    [Itemid] => 112
    [option] => com_content
    [view] => article
    [id] => 11
    )
  • Array
    (
    => Array
    (
    [response
  • => Array
    (
    [success] =>
    [error-codes] => Array
    (
    [0] => missing-input-response
    )

    )

    [_error] => The NoCaptcha verification has failed.
    [log] => Automatic validation enabled.
    [recipients] => Array
    (
    [0] => xxxxxxxxxxxxxx
    )

    [subject] => Contact Us Request from BRMC website
    [body] => [table width="100%" cellpadding="5" cellspacing="3" border="0"][tbody][tr][td width="30%" valign="top" align="right"]Name[/td][td width="70%" valign="top" align="left"]Testing Test[/td][/tr][tr][td width="30%" valign="top" align="right"]Email[/td][td width="70%" valign="top" align="left"]edmund.harvey@aciwebs.com[/td][/tr][tr][td width="30%" valign="top" align="right"]Message[/td][td width="70%" valign="top" align="left"]test[/td][/tr][/tbody][/table]
    [result] => the Mail sent successfully.
    [var] => Array
    (
    [controller] =>
    [action] =>
    [chronoform] => contact-us-copy
    [event] => submit
    [__connection] => Array
    (
    [id] => 5
    [title] => Contact BRMC
    [alias] => contact-us-copy
    [published] => 1
    [public] => 1
    [description] =>
    [params] => Array
    (
    [default_event] => load
    [mode] => easy
    [limited_edition] => 1
    )

    [events] => Array
    (
    [load] => Array
    (
    [name] => load
    )

    [submit] => Array
    (
    [name] => submit
    )

    )

    [sections] => Array
    (
    [one] => Array
    (
    [name] => one
    )

    )

    [views] => Array
    (
    [5] => Array
    (
    [designer_label] => CONTACT US
    [name] => header5
    [_section] => one
    [type] => header
    [tag] => h2
    [text] => CONTACT US
    [subtext] =>
    [class] => ui header dividing
    )

    [1] => Array
    (
    [designer_label] => Name
    [name] => field_text1
    [_section] => one
    [type] => field_text
    [label] => Name
    [params] => Array
    (
    [placeholder] =>
    [name] => name
    [id] => name
    [value] =>
    )

    [dynamics] => Array
    (
    [email] => Array
    (
    [enabled] => 1
    )

    [save] => Array
    (
    [enabled] => 1
    )

    )

    [validation] => Array
    (
    [required] => true
    [optional] =>
    [email] =>
    [url] =>
    [integer] =>
    [decimal] =>
    [number] =>
    [regExp] =>
    [match] =>
    [different] =>
    [minLength] =>
    [maxLength] =>
    [contains] =>
    [disabled] =>
    [rules] =>
    )

    [verror] =>
    [inputmask] =>
    [description] => Array
    (
    [text] =>
    )

    [tooltip] => Array
    (
    [text] =>
    [class] => icon info circular blue inverted small
    )

    [states] => Array
    (
    [hidden] =>
    [disabled] =>
    )

    [reload] => Array
    (
    [event] =>
    )

    [attrs] =>
    [container] => Array
    (
    [class] => field
    [width] =>
    )

    [events] => Array
    (
    [0] => Array
    (
    [sign] => =
    [value] =>
    [identifier] =>
    )

    )

    )

    [2] => Array
    (
    [designer_label] => Email
    [name] => field_text2
    [_section] => one
    [type] => field_text
    [label] => Email
    [params] => Array
    (
    [placeholder] =>
    [name] => email
    [id] => email
    [value] =>
    )

    [dynamics] => Array
    (
    [email] => Array
    (
    [enabled] => 1
    )

    [save] => Array
    (
    [enabled] => 1
    )

    )

    [validation] => Array
    (
    [required] => true
    [optional] =>
    [email] => true
    [url] =>
    [integer] =>
    [decimal] =>
    [number] =>
    [regExp] =>
    [match] =>
    [different] =>
    [minLength] =>
    [maxLength] =>
    [contains] =>
    [disabled] =>
    [rules] =>
    )

    [verror] =>
    [inputmask] =>
    [description] => Array
    (
    [text] =>
    )

    [tooltip] => Array
    (
    [text] =>
    [class] => icon info circular blue inverted small
    )

    [states] => Array
    (
    [hidden] =>
    [disabled] =>
    )

    [reload] => Array
    (
    [event] =>
    )

    [attrs] =>
    [container] => Array
    (
    [class] => field
    [width] =>
    )

    [events] => Array
    (
    [0] => Array
    (
    [sign] => =
    [value] =>
    [identifier] =>
    )

    )

    )

    [3] => Array
    (
    [designer_label] => Message
    [name] => field_textarea3
    [_section] => one
    [type] => field_textarea
    [label] => Message
    [params] => Array
    (
    [rows] => 5
    [name] => message
    [id] => message
    [value] =>
    [placeholder] =>
    )

    [editor] => Array
    (
    [enabled] =>
    )

    [resize] => Array
    (
    [enabled] =>
    )

    [dynamics] => Array
    (
    [email] => Array
    (
    [enabled] => 1
    )

    [save] => Array
    (
    [enabled] => 1
    )

    )

    [validation] => Array
    (
    [required] => true
    [optional] =>
    [regExp] =>
    [minLength] =>
    [maxLength] =>
    [contains] =>
    [disabled] =>
    [rules] =>
    )

    [verror] =>
    [description] => Array
    (
    [text] =>
    )

    [tooltip] => Array
    (
    [text] =>
    [class] => icon info circular blue inverted small
    )

    [states] => Array
    (
    [hidden] =>
    [disabled] =>
    )

    [reload] => Array
    (
    [event] =>
    )

    [attrs] =>
    [container] => Array
    (
    [class] => field
    [width] =>
    )

    [events] => Array
    (
    [0] => Array
    (
    [sign] => empty
    [value] =>
    [identifier] =>
    )

    )

    )

    [6] => Array
    (
    [designer_label] =>
    [name] => google_nocaptcha6
    [_section] => one
    [type] => google_nocaptcha
    [label] =>
    [site_key] => 6LfQZrkUAAAAADZQfmU3S2K3VzShh_rXqpm6m1IZ
    [secret_key] => 6LfQZrkUAAAAACYVVfwFeNDTtVjiNLzbOnOWgopH
    [failed_error] => You didn't pass the NoCaptcha verification.
    [theme] => light
    [lang] => {language:short}
    )

    [4] => Array
    (
    [designer_label] =>
    [name] => field_button4
    [_section] => one
    [type] => field_button
    [params] => Array
    (
    [type] => submit
    [name] => button4
    [id] => button4
    [value] =>
    [data-selections] => 0
    [data-message] => Please make a selection from the list
    )

    [content] => Send Message [i aria-hidden="true"][/i]
    [color] => green
    [class] =>
    [fluid] => 0
    [attrs] =>
    [container] => Array
    (
    [class] =>
    )

    [toolbar] => Array
    (
    [enabled] => 0
    )

    [events] => Array
    (
    [0] => Array
    (
    [sign] => click
    [identifier] =>
    )

    )

    )

    )

    [functions] => Array
    (
    [0] => Array
    (
    [_event] => load
    [type] => display_section
    [sections] => one
    [display_type] => form
    [data_provider] =>
    [validation] => Array
    (
    [type] => inline
    )

    [event] => submit
    [submit_animation] => 1
    [parameters] =>
    [dynamic] =>
    [invisible] =>
    [keepalive] => 1
    [formid] =>
    [attrs] =>
    [class] => ui form
    [size] =>
    [modal] => Array
    (
    [enabled] =>
    [pageload] => 1
    [header] =>
    [delay] =>
    [scroll] =>
    [trigger] =>
    [replacement] =>
    [size] => fullscreen
    [basic] =>
    [close_icon] => 1
    [closable] => 1
    [inverted] => 1
    )

    )

    [4] => Array
    (
    [_event] => submit
    [type] => google_nocaptcha
    [enabled] => 1
    [secret_key] => 6LfQZrkUAAAAACYVVfwFeNDTtVjiNLzbOnOWgopH
    [failed_error] => You didn't pass the NoCaptcha verification.
    )

    [5] => Array
    (
    [_event] => google_nocaptcha4/fail
    [type] => event_load
    [event_name] => load
    [stop] => 1
    )

    [1] => Array
    (
    [_event] => submit
    [type] => validate_fields
    [enabled] => 1
    [list_errors] => 1
    [data_provider] => {data:}
    [error_message] => Please provide all the required info.
    [fields_selection] =>
    [fields_list] =>
    )

    [2] => Array
    (
    [_event] => validate_fields2/fail
    [type] => event_load
    [event_name] => load
    [stop] => 1
    )

    [6] => Array
    (
    [_event] => submit
    [type] => upload
    [enabled] =>
    [path] => {path:front}/uploads/
    [extensions] => jpg,png,gif,pdf,doc,docx,txt,zip
    [autofields] => 1
    [config] =>
    [filename_provider] =>
    [max_size] => 1000
    [min_size] => 0
    [max_size_error] => The file has exceeded the maximum size limit.
    [min_size_error] => The file is below the minimum size limit.
    [file_extension_error] => The file extension is not permitted.
    )

    [7] => Array
    (
    [_event] => upload6/fail
    [type] => event_load
    [event_name] => load
    [stop] => 1
    )

    [12] => Array
    (
    [_event] => submit
    [type] => save_data
    [enabled] =>
    [autotable] =>
    [autofields] => 1
    [db_table] =>
    [action] => save
    [data_provider] =>
    [model_name] => Data12
    [overrides] => Array
    (
    [1] => Array
    (
    [name] => created
    [value] => {date:Y-m-d H:i:s}
    [action] => insert
    )

    [2] => Array
    (
    [name] => user_id
    [value] => {user:id}
    [action] => insert
    )

    [3] => Array
    (
    [name] => modified
    [value] => {date:Y-m-d H:i:s}
    [action] => update
    )

    )

    [_save] => 1
    [viewfields] => {"field_text1":"name","field_text2":"email","field_textarea3":"message","field_button4":"button4"}
    [db] => Array
    (
    [enabled] =>
    [user] => admin
    [pass] => admin
    [name] =>
    [type] =>
    [host] =>
    [prefix] =>
    )

    )

    [13] => Array
    (
    [_event] => save_data12/fail
    [type] => event_load
    [event_name] => load
    [stop] => 1
    )

    [8] => Array
    (
    [_event] => submit
    [type] => email
    [enabled] => 1
    [recipients] => ryan.patterson@scouting.org
    [subject] => Contact Us Request from BRMC website
    [body] =>
    [autoemail] => 1
    [mode] => html
    [advanced_template] =>
    [autofields] => 1
    [attachments] =>
    [reply_email] =>
    [reply_name] =>
    [from_email] =>
    [from_name] =>
    [cc] =>
    [bcc] =>
    [template] => Array
    (
    [header] =>
    [body] =>
    [footer] =>
    )

    [encrypted] =>
    [gpg_sec_key] =>
    )

    [9] => Array
    (
    [_event] => submit
    [type] => email
    [enabled] =>
    [recipients] =>
    [subject] =>
    [body] =>
    [autoemail] => 1
    [mode] => html
    [advanced_template] =>
    [autofields] => 1
    [attachments] =>
    [reply_email] =>
    [reply_name] =>
    [from_email] =>
    [from_name] =>
    [cc] =>
    [bcc] =>
    [template] => Array
    (
    [header] =>
    [body] =>
    [footer] =>
    )

    [encrypted] =>
    [gpg_sec_key] =>
    )

    [10] => Array
    (
    [_event] => submit
    [type] => message
    [message_type] => success
    [location] => body
    [content] => Thank you for contact the Blue Ridge Mountain Council.
    )

    [14] => Array
    (
    [_event] => submit
    [type] => redirect
    [event] =>
    [time] =>
    [url] =>
    [parameters] =>
    )

    [11] => Array
    (
    [_event] => submit
    [type] => debugger
    [enabled] => 1
    [var_name] =>
    )

    )

    [locales] => Array
    (
    [en_GB] => Array
    (
    [name] => en_GB
    [content] =>
    )

    )

    [rules] => Array
    (
    [access] => Array
    (
    [1] =>
    [2] =>
    [3] =>
    [4] =>
    [5] =>
    [10] =>
    [11] =>
    [34] =>
    [12] =>
    [13] =>
    [15] =>
    [14] =>
    [16] =>
    [17] =>
    [18] =>
    [19] =>
    [20] =>
    [21] =>
    [22] =>
    [23] =>
    [24] =>
    [25] =>
    [26] =>
    [27] =>
    [28] =>
    [29] =>
    [30] =>
    [31] =>
    [32] =>
    [33] =>
    [6] =>
    [7] =>
    [8] =>
    [9] =>
    )

    )

    )

    [__blocks] => Array
    (
    )

    [__default_event] => load
    [__event] => submit
    [__viewslimit] => 15
    [__active_event] => submit
  • => 1
    )

    )

    )
    E
    efh68 25
    September 25 2019, 15:25 #389299
    How can I turn of Automatic validation enabled. in the easy mode?
    healyhatman 8
    September 26 2019, 12:57 #389307
    Just switch to advanced mode
    Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
    Donations: paypal.me/healyhatman
    Professional Work: kamron@skyspider.com.au
    Custom CF / CC Plugins and Extensions: skyspider.com.au/store
    E
    efh68 25
    September 26 2019, 18:38 #389315
    Same problem in advanced mode.
    GreyHead 64
    September 27 2019, 07:35 #389327
    Hi efh68,
    Did you turn off Automatic Validation after switching to Advanced Mode?
    Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much
    E
    efh68 25
    September 27 2019, 12:19 #389335
    Is that the "Check Security Fields" toggle switch? By fault it was off. I tried with on and off, the problem would not go away either way.
    GreyHead 64
    September 27 2019, 12:32 #389336
    Hi efh68,
    I believe that switch turns the Captcha check on and off. You want the one above it: Enable Server Validations - Fields with validation rules will be auto validated.
    Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much
    E
    efh68 25
    September 27 2019, 12:55 #389338
    That was off by default as well. I toggled it on and off for testing and got the same results.
    healyhatman 8
    September 27 2019, 14:02 #389342
    missing-input-response
    Do you actually have the recaptcha view on the front end?
    Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
    Donations: paypal.me/healyhatman
    Professional Work: kamron@skyspider.com.au
    Custom CF / CC Plugins and Extensions: skyspider.com.au/store
    E
    efh68 25
    September 27 2019, 14:06 #389343
    Yes, http://bsa-brmc.org/index.php/test-form
    healyhatman 8
    September 27 2019, 14:12 #389344
    And have you got something in the "fail" event to make it go back if it fails?
    Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
    Donations: paypal.me/healyhatman
    Professional Work: kamron@skyspider.com.au
    Custom CF / CC Plugins and Extensions: skyspider.com.au/store
    E
    efh68 25
    September 27 2019, 14:43 #389345
    Yes I have a "Check Google Recaptcha" with the security key in it's settings and an event loop in the fail section of that. I had the email block under the "Check Google Recaptcha" instead of in the "Success". That fixed the problem. Someday I hope to be able to figure this all out. Sorry for wasting your time.
    healyhatman 8
    September 27 2019, 23:05 #389347
    You shouldn't have to put it in success, having an event load in the fail action should be enough. What does your event load look like
    Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
    Donations: paypal.me/healyhatman
    Professional Work: kamron@skyspider.com.au
    Custom CF / CC Plugins and Extensions: skyspider.com.au/store
    E
    efh68 25
    September 30 2019, 13:38 #389363
    healyhatman 8
    September 30 2019, 14:24 #389364
     Answer
    Yeah that's your problem. You need an EVENT LOAD not a LOOP EVENT.
    Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
    Donations: paypal.me/healyhatman
    Professional Work: kamron@skyspider.com.au
    Custom CF / CC Plugins and Extensions: skyspider.com.au/store
    E
    efh68 25
    September 30 2019, 15:02 #389366
    Thank You!