Caldera forms plugin for wordpress returns a URL similar to the one below when an error occurs during submission of a form.
?cf_er=_cf_process_5e7a1d0c43fbe
How, using jQuery, could I add a class to the body if the url contains AT LEAST this part;
?cf_er
Many thanks in advance for any help offered.