Add rating

This commit is contained in:
2026-05-06 21:27:34 +02:00
parent 9e8b404f91
commit 67c5c98fb4
4 changed files with 18 additions and 10 deletions

View File

@@ -61,7 +61,7 @@
<?php echo wp_nonce_field('go_form_action', 'go_form_nonce', true, false); ?>
<input type="hidden" name="action" value="go_form_handle_submission">
<input type="hidden" name="form_id" value="<?php echo esc_attr($form_id); ?>">
<input type="hidden" name="rating" id="rating" value="-1000">
<div class="go-form-grid">
<div>
@@ -184,6 +184,7 @@
document.getElementById('club').value = player.Club || '';
document.getElementById('rank').value = player.Grade_n || 0;
document.getElementById('egd_number').value = player.Pin_Player || '';
document.getElementById('rating').value = player.Gor || 0;
closePopup();
}