7 Replies Latest reply on Sep 14, 2017 12:08 AM by bimmis57571263

    Form Submission Issue

    sonalik77795449 Level 1

      Hello,

      We have a simple form with submit action and Start and End Configured for the form.

      We migrated from 6.1 to 6.2 and this stuff works fine on 6.1

      On Submit however,we get following error on browser console - 

      forms.html:465 Uncaught ReferenceError: cq5forms_isEmpty is not defined(…) for a random field on the form.

      Javascript Line - 

      if (cq5forms_isEmpty(document.forms["_content_public_jcr_content_customertools_contactreppar _start"].elements["city"])) {cq5forms_showMsg('_content_public_jcr_content_customertools_contactreppar_start','city', 'Please complete the City field.'); return false; }

      Error logs show the following - 

      service/forms.html HTTP/1.1] com.day.cq.personalization.impl.TargetedContentManagerImpl Failed to generate teaser info

       

      java.lang.NullPointerException: null

       

       com.day.cq.personalization.impl.TargetedContentManagerImpl JSONObject["allTeasers"] not found.

      org.apache.sling.commons.json.JSONException: JSONObject["allTeasers"] not found.

      Please help.Not sure what teasers json its referring to here since we have a simple form implementation.

      Thanks,

      Sonali.