This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'gform_review_page', 'wpmonks_add_review_page', 10, 3 ); | |
function wpmonks_add_review_page( $review_page, $form, $entry ) { | |
// Enable the review page | |
$review_page['is_enabled'] = true; | |
if ( $entry ) { | |
// Populate the review page | |
$review_page['content'] = GFCommon::replace_variables( '{all_fields}', $form, $entry ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'gform_checkbox_deselect_all_label_FORMID_FIELDID', 'wpmonks_change_label', 10, 2 ); | |
function wpmonks_change_label( $select_label, $field ){ | |
return "My Custom Deselect All"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'gform_checkbox_deselect_all_label_FORMID', 'wpmonks_change_label', 10, 2 ); | |
function wpmonks_change_label( $select_label, $field ){ | |
return "My Custom Deselect All"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'gform_checkbox_deselect_all_label', 'wpmonks_change_label', 10, 2 ); | |
function wpmonks_change_label( $select_label, $field ){ | |
return "My Custom Deselect All"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'gform_checkbox_select_all_label_FORMID_FIELDID', 'wpmonks_change_label', 10, 2 ); | |
function wpmonks_change_label( $select_label, $field ){ | |
return "My Label"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'gform_checkbox_select_all_label_FORMID', 'wpmonks_change_label', 10, 2 ); | |
function wpmonks_change_label( $select_label, $field ){ | |
return "My Label"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'gform_checkbox_select_all_label', 'wpmonks_change_label', 10, 2 ); | |
function wpmonks_change_label( $select_label, $field ){ | |
return "My Label"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body #wpforms-FORMID .wpforms-form .wpforms-field.wpforms-field-select select { | |
border: 2px dotted #ddd; | |
color: #ccc; | |
background: #fff; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body #wpforms-FORMID .wpforms-form .wpforms-field input[type=text], | |
body #wpforms-FORMID .wpforms-form .wpforms-field input[type=email], | |
body #wpforms-FORMID .wpforms-form .wpforms-field input[type=tel], | |
body #wpforms-FORMID .wpforms-form .wpforms-field input[type=url], | |
body #wpforms-FORMID .wpforms-form .wpforms-field input[type=password] | |
body #wpforms-FORMID .wpforms-form .wpforms-field input[type=number] | |
{ | |
color: #ddd; | |
border: 1px solid #ccc; | |
border-radius: 2px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body #wpforms-FORMID .wpforms-form .wpforms-field-radio li label { | |
color: yellow; | |
font-size: 20px; | |
padding: 10px; | |
} |