Support » Plugin: Brilliant Web-to-Lead for Salesforce » Uncheck checkbox

  • Resolved peantoine


    Hello the team,

    How can I uncheck the uncheckbox automatically ?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter peantoine


    it’s ok I changer it

    		if($input['type'] != 'hidden' && $input['type'] != 'current_date') {
    			if ($options['wpcf7css']) { $content .= '<p>'; }
    			if ($input['type'] == 'checkbox') {
    				if( isset( $_POST[$id] ) ){
    					$post_val = $_POST[$id];
    					$post_val = '';
    				$content .= "\t\n\t".'<input type="checkbox" id="sf_'.$id.'" class="w2linput checkbox" name="'.$id.'" value="1" '.checked( 1, $val, false ).' />'."\n\n";
    Plugin Author Nick Ciske


    No code change is needed, if you’ve correctly given your field a value and not set a default value your checkbox will be unchecked.

    If it’s checked by default, you either forgot to choose a value for your field or chose a default value that is the same as the field value.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncheck checkbox’ is closed to new replies.