spring-js

How do I make my dropdowns (form:select) required with Spring and Dojo?

戏子无情 提交于 2019-12-24 14:48:48
问题 How do I make my dropdowns (form:select) required with Spring and Dojo?. I am working on a Spring project with Dojo to make my pages look nice. I have the input fields working but now one of my pages has a dropdown on it. How can I make the dropdown like the my dojo inputs and how do I make it required. please see code below... <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%> <%@ taglib prefix="form" uri="http://www

How to check field sizes and make radiobutton required with Spring, Spring-JS and DOJO (dijit)

你。 提交于 2019-12-24 07:17:31
问题 I am working on my first project with Spring, Spring-JS and DoJo(dijit) and I have two questions bases on the following coding example. 1) How do I check with Dojo (dijit) that the phone number field is the right size and also how do I check that the name field is bigger then 3 and less then 50? 2) As you can see my form has radio buttons which I need to set as required. How do I do that with Dojo (dijit). Thanks <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%> <%@ taglib prefix=