Personal tools

Log in

Changes

From All n One's bxp software Wixi

Jump to: navigation, search

JavaScript - Modifying List Contents Dynamically

3 bytes added, 19:35, 12 September 2014
no edit summary
You populate the first list with three options. XXXXX, YYYYY and ZZZZZ, just as an example. Remember to put the values in the text and the value fields. This is standard list management. The second list you put just one entry in called "Please select a Question 1 item" with Text but leave as the Value of it blanktext and a single minus as the value.
When adding validation to the form, it is possible to use the bxp engine to ensure at least 1 character 2 characters has been put in Question 1 and in Question 2. As the ZZZZZ example shows, do not put a value in, and the validation will show the box as being empty.
7,528
edits