- How can I check for empty fields upon submission? The doc has an onClick function for the submit button: onclick="return $(this).getForm().sendRequest(...), but this function doesn't check for empty fields. How can I accomplish this?
- This is my submit button:
<input type="submit" value="Submit Comment »" onclick="return $(this).getForm().sendRequest(
'shop:on_addProductReview', {
extraFields: {no_flash: true},
update:{'product_page': 'product_partial'
}})" />But when "submit" is clicked with all fields filled, instead of getting a response of some sort for success/failure, I get a long URL back and the review is not added. The URL is: example.com/product/test-product?review_author_name=john&review_author_email=noreply%40example.com&review_title=test+review&rating=3
How can I debug this and find out what's going on when the review is submitted?
- Lastly, is there no way to manually add reviews?
Thanks!

Help













