CF7 Loading state
-
We have other states such as ‘sent’,’spam’, and ‘invalid’ but not ‘loading’. Instead the ajax loading gif is shown.
To give the user more of a UX I have been adding the loading state to the cf7 scripts.js.
On line 16 on adding this:
$form.addClass('loading');and on line 89 changing this:
$form.removeClass('invalid spam sent failed');to this:
$form.removeClass('invalid spam sent failed loading');My main question is there a better way of doing this/will it ever be added?
The topic ‘CF7 Loading state’ is closed to new replies.