Why isn’t select field required?
-
Ok. Before we start.
I have CF7, CF7 Conditional Fields (for the makes of vehicles and the models it displays)Heres a sample of the code. I used the * but it didn’t work. Then, when I removed:
id:exampleFormControlSelect2 class:form-control—– from my test field (the “make” section) and replaced all of that with first_as_label, the styling of “blue” from the form disappeared. But it worked.
Here is the code example for my form.
[multistep “1-1-https://www.usedpart.us/database/part-locator-tool-step-4″]
<label for=”exampleFormControlSelect1”><span></span></label>
[select* year-14 id:exampleFormControlSelect1 class:form-control “Click To Select Vehicle Year” “2019” “2018” “2017” “2016” “2015” “2014” “2013” “2012” “2011” “2010” “2009” “2008” “2007” “2006” “2005” “2004” “2003” “2002” “2001” “2000” “1999” “1998” “1997” “1996” “1995” “1994” “1993” “1992” “1991” “1990” “1989” “1988” “1987” “1986” “1985” “1984” “1983” “1982” “1981” “1980” “1979” “1978” “1977” “1976” “1975” “1974” “1973” “1972” “1971” “1970” “1969” “1968” “1967” “1966” “1965” “1964” “1963” “1962” “1961” “1960” “1959” “1958” “1957” “1956” “1955” “1954” “1953” “1952” “1951” “1950” “Select If Older Than 1950″ ]<label for=”exampleFormControlSelect2”><span></span></label>
[select* make-14 c
“Click To Select Vehicle Make*” “AMC” “Acura” “Alfa Romeo” “Audi” “BMW” “Buick” “Cadillac” “Chevrolet” “Chrysler” “Daewoo” “Dodge” “Eagle” “Fiat” “Ford” “GMC” “Geo” “Honda” “Hummer” “Hyundai” “International (IH)” “Infiniti” “Isuzu” “Jaguar” “Jeep” “Kia” “LandRover” “Lexus” “Lincoln” “Maserati” “Mazda” “Mercedes” “Mercury” “Mini” “Mitsubishi” “Nissan” “Oldsmobile” “Peugeot” “Plymouth” “Pontiac” “Porsche” “Renault” “Saab” “Saturn” “Scion” “Subaru” “Suzuki” “Tesla” “Toyota” “Triumph” “Volkswagen” “Volvo” “Yugo” ][group group-amc]
<label for=”exampleFormControlSelect2″><span></span></label>[select model-256 first_as_label id:exampleFormControlSelect2 class:form-control “Please Select ” “American” “AMX” “Classic” “Concord” “Eagle” “Gremlin” “Hornet” “Javelin” “Marlin” “Matador” “Pacer” “Rambler” “Rebel” “Spirit” “Other” ][/group]
[group group-acura]
<label for=”exampleFormControlSelect2″> SELECT YOUR MODEL<span></span></label>[select model-257 first_as_label id:exampleFormControlSelect2 class:form-control “Please Select ” “CL” “CSX” “EL” “ILX” “Integra” “Legend” “MDX” “NSX” “RDX” “RL” “RLX” “RSX” “SLX” “TL” “TLX” “TSX” “Vigor” “ZDX” ]
[/group](the group is example: someone selects “acura” it will only show acura models. which I’m sure you knew that already)
I’m trying to be as clear as I can because my vendors said some forms are coming in witb the “Click here to select model” and they want that field required so they know the vehicle information.
Any help would be so awesome. I dont understand unless the “id:exampleFormControlSelect2 class:form-control” is where the “styling comes from”
What do I need from you?
How do I keep the styling but make the fields required including when they select a manufacturer they must select one of the models.Thank you.
The page I need help with: [log in to see the link]
The topic ‘Why isn’t select field required?’ is closed to new replies.