I am working on a project based on play framework. I am displaying an error message "Please enable javascript in your browser" using the ***noscript*** tag. But, I also want to disable all the form fields and buttons if the javascript is disabled in the browser.

What would be the best approach to achieve this?

Thanks.