Skip to content

Working Without JavaScript

What still works, and what doesn't, when a visitor has JavaScript disabled.

Updated 1 min read

The whole widget is server-rendered. With JavaScript unavailable or blocked:

  • the sum, the field, the label, and the help text are all present and fully functional,
  • the answer is validated exactly as it would be otherwise, at submit time,
  • the countdown (whichever style is chosen) simply shows full and doesn't animate,
  • the refresh button is not shown at all, since it would do nothing without JavaScript —

reloading the page has the same effect.

The script's only job is to add the live countdown, the refresh button, instant validation, and the screen-reader announcements on top of an already-complete, already-working plain form field.

Was this article helpful?

Image

Everything you need to build on Joomla — one subscription away.

Resources