WordPress.org

Support

Support » Plugins and Hacks » Grunion Contact Form » CAn you put this in teh code line please – multiple forms

CAn you put this in teh code line please – multiple forms

Viewing 1 replies (of 1 total)
  • Hi,

    PLease could you give me more information about how to do these modifications.

    Have a look from what I tried :
    1 – I replaced lines 199 & 200 with `

    if ( $_POST['contact-form-id'] == $contact_form_last_id)
                contact_form_validate_field( $field );

    2 – I added on line 291

    if ($_POST['contact-form-id'] !=  $contact_form_last_id )
                return $r;

    just after

    if ( is_wp_error($contact_form_errors) )
    	return $r;

    Do you think is it correct because the result is wrong : when I submit my form with errors on the page, I have the same error message in the form on the widget.

    Thank you for your help

Viewing 1 replies (of 1 total)
  • The topic ‘CAn you put this in teh code line please – multiple forms’ is closed to new replies.
Skip to toolbar