Validation error on edit listing form
-
Hi,
when saving an existing listing, the admin-ajax.php result is as follows:
{error_msg: ["PLZ field is required!", "Telefon field is required!", "Email field is required!",…],…} edited_listing: true error: true error_msg: ["PLZ field is required!", "Telefon field is required!", "Email field is required!",…] id: 3311 preview_mode: true redirect_url: "https://www.domain.de/dienstleister/slug/?notice=1" success: true success_msg: "Deine ?nderungen wurden erfolgreich gesendet! Du wirst weitergeleitet..."
It throws an error and a success at the same time, and a redirection does not work.
It displays the textfield names to the user which are required (but not empty!).Ended up in class-add-listing.php on line 156, where $submitted_data is 0
Thank you in advance
Marc
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Validation error on edit listing form’ is closed to new replies.