The bootstrap classes can be used in template files for setting the width of particular divs across all screen width. This can be done instead of using the @media tag in CSS. While updating the theme or when creating new HTML forms, This can be used. Here are the width and corresponding tags are given… Continue reading How to add standard width to a ‘div’ using bootstrap classes.
Tag: htmlform
A Function for showing the validation error message using Javascript
This function can be used to display validation messages in any form like the contact us page. We can pass a message, type, and also the field: which determines under in which ‘div’ the message need to be displayed.
Auto refresh page after Form submission
In order to refresh a page after an HTML form submission, use one of the following Use the below code In HTML form 2.Use location.reload();(Make this call via JavaScript)