CON-1040 - Check JS dependencies loaded/available when rendering a Form

Created by Warren Buckley 23 May 2016, 14:42:32 Updated by Jeremy Newman 15 Jun 2016, 19:18:37

Check for the presence of jQuery, jQuery Validation & any other clientside dependencies required to load a form on a website.

Comments

Warren Buckley 26 May 2016, 10:26:10

This is ready for review in a PR here - https://github.com/umbraco/Forms/pull/61

== Test ==

  • Use Umbraco Forms on the frontend of the site
  • Ensure you have not loaded the 3 dependant libraries
  • See form disappear & replaced with ugly red error message
  • Add one library in at a time to see the other messages

Give any feedback on copy or styling changes to be made to the DIV that is injected as well.


Warren Buckley 31 May 2016, 09:27:55

This is ready for re-review Seb


Jeremy Newman 15 Jun 2016, 19:18:37

I am seeing this in the backoffice using the version 4.3.2 package from our.umbraco.com. I do not see jquery validation under the umbraco/lib/jquery folder either. Checking the network tab in chrome confirms it is not trying to load it... unless it is via require.js or something like that.


Priority: Normal

Type: Task

State: Fixed

Assignee:

Difficulty:

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 4.3.0

Due in version: 4.3.0

Sprint: Sprint 16

Story Points:

Cycle: