Skip to content

Commit

Permalink
Redisplay input in the event of a submission error #207
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Aug 5, 2023
1 parent 1645fcd commit a510821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shortcodes/oik-contact-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ function _bw_show_contact_form_fields() {
$field = bw_array_get( $bw_fields, $full_name, null );
bw_trace2( $field, "Field", false, BW_TRACE_DEBUG );
if ( $field ) {
$value = ''; // $field['#value']
$value = bw_array_get( $_REQUEST, $full_name );
bw_form_field( $full_name, $field['#field_type'], $field['#title'], $value , $bw_fields[ $full_name ]['#args']);
}
}
Expand Down

0 comments on commit a510821

Please sign in to comment.