• Inserted in personal-fundraiser/includes/functions after line 419:

    foreach($options['fields'] AS $idx=>$fieldarr){
    	if(!array_key_exists('pfund-'.$idx,$inputfields) && $fieldarr["required"]){
    	$inputfields['pfund-'.$idx] = array(
    	'field' => $options['fields'][$idx],
    	'value' => ''
    	);
    }
    }

    This code will cycle through and display all fields marked “required”

    https://wordpress.org/plugins/personal-fundraiser/

  • The topic ‘Hack for Required Fields’ is closed to new replies.