Problem#1: I am having difficulty setting the default values for input elements with multi select capabilities, i.e. checkbox and dropdown. I tried using the "Selected Values" field, which is on the element's General tab. However, it seems that only a single element can be checked. See the attached screen shot. What am I missing?
Problem#2: By the way, my objective is actually to get options selected based on data recorded in a database. In other words, the form will read the data, change the string into an array. I was successful in getting this far. Then, use the array to show some options as selected. When I struggled with doing that, I thought of trying (first) to hard-code the selected options (my question above.) By the way, I managed to read data from a database, and use the values to populate single-value input elements. However, I could not make it work for input elements with multi select capabilities, i.e. checkbox and dropdown.
Problem#2: By the way, my objective is actually to get options selected based on data recorded in a database. In other words, the form will read the data, change the string into an array. I was successful in getting this far. Then, use the array to show some options as selected. When I struggled with doing that, I thought of trying (first) to hard-code the selected options (my question above.) By the way, I managed to read data from a database, and use the values to populate single-value input elements. However, I could not make it work for input elements with multi select capabilities, i.e. checkbox and dropdown.