Recently implemented this in a project, great stuff!
I'm using it in a WP comment form, together with other ACF custom fields. These fields are all required and when trying to send the form with empty fields, standard ACF fields get a small popup with "Fill out this field". The stars are also required, but when sending the form, it goes to a new page with the error message "Please enter a value clicking on stars form 1 to 5".
By this point the form has already submitted the comment though. When going back to the form page in the browser and selecting stars, then trying to post the comment again, it says a similar comment has already been posted. Which means the saved comment doesn't have most form data.
Would it be possible to do the required field check on the form page, like ACF, instead of a separate page?
Ps. There also seems to be a typing error in the "..clicking on stars form.." above (form instead of from). This is from line #287 in StarRatingField.php
Recently implemented this in a project, great stuff!
I'm using it in a WP comment form, together with other ACF custom fields. These fields are all required and when trying to send the form with empty fields, standard ACF fields get a small popup with "Fill out this field". The stars are also required, but when sending the form, it goes to a new page with the error message "Please enter a value clicking on stars form 1 to 5".
By this point the form has already submitted the comment though. When going back to the form page in the browser and selecting stars, then trying to post the comment again, it says a similar comment has already been posted. Which means the saved comment doesn't have most form data.
Would it be possible to do the required field check on the form page, like ACF, instead of a separate page?
Ps. There also seems to be a typing error in the "..clicking on stars form.." above (form instead of from). This is from line #287 in StarRatingField.php