• Hi

    I am having trouble in forcing the dropdown menus on my form to give an error message when users left it blank.

    For example, in the question “If the person was born overseas, when did they move to Australia?”, I put the code below.:

    [select* ReferralYearMoveAustralia id:ReferralYearMoveAustralia class:form-control include_blank “Person was born in Australia” “Unknown” “1900” “1901” “1902” “1903” “1904” “1905” “1906” “1907” “1908” “1909” “1910” “1911” “1912” “1913” “1914” “1915” “1916” “1917” “1918” “1919” “1920” “1921” “1922” “1923” “1924” “1925” “1926” “1927” “1928” “1929” “1930” “1931” “1932” “1933” “1934” “1935” “1936” “1937” “1938” “1939” “1940” “1941” “1942” “1943” “1944” “1945” “1946” “1947” “1948” “1949” “1950” “1951” “1952” “1953” “1954” “1955” “1956” “1957” “1958” “1959” “1960” “1961” “1962” “1963” “1964” “1965” “1966” “1967” “1968” “1969” “1970” “1971” “1972” “1973” “1974” “1975” “1976” “1977” “1978” “1979” “1980” “1981” “1982” “1983” “1984” “1985” “1986” “1987” “1988” “1989” “1990” “1991” “1992” “1993” “1994” “1995” “1996” “1997” “1998” “1999” “2000” “2001” “2002” “2003” “2004” “2005” “2006” “2007” “2008” “2009” “2010” “2011” “2012” “2013” “2014” “2015” “2016”]

    However, there was no error message when users skipped the question. I have tried using “first_as_label” as well or removing “include_blank” but neither of them work.

    Same with the question “What country was the person born in?”, even trying to use the Listo plugin that you recommended, the code [select* your-country data:countries] did not return an error message when skipped.

    For questions with less options, I have to do a workaround by changing the dropdown menu to be a checkbox AND “exclusive” in the code, as the form did NOT give out error message when using radio buttons either.

    Please help.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mandatory dropdown menu not giving error message when left blank’ is closed to new replies.