Make Post Code required
-
The code edit at SpeakOut! FAQ uses left and right single quotes, which breaks the Javascript there.
Correct Javascript edit should be:
if ( postcode === ” ) {
$( ‘#dk-speakout-postcode-‘ + id ).addClass( ‘dk-speakout-error’ );
errors ++;
}Correct PHP edit should be:
<label for=”dk-speakout-postcode-‘ . $petition->id . ‘” class=”required”‘ . ‘>’ . __( ‘Postal Code’, ‘speakout’ ) . ‘</label>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Make Post Code required’ is closed to new replies.