Forms - creating blank/null value in drop-down list (v5.4.2)
Permalink
Hi folks,
I'm using the default Form block in Concrete 5.4.2
It used to be that when I added a "Select Box" entry in the form I could leave the first line of the Answer Option box blank- this would result in the Select drop-down being empty when the page loaded. Really useful if you want to make this a required field for which the user is forced to choose something from the drop-down.
Since I updated to 5.4.2, this has broken. When I leave the top line of the Answer Options blank, the Select code fails to close and screws up the rest of the form (the Question text of the next entry in the form becomes the only option in the select dropdown).
So I guess this is both a request for a method to make the dropdown default to blank and a bug report.
I'm using the default Form block in Concrete 5.4.2
It used to be that when I added a "Select Box" entry in the form I could leave the first line of the Answer Option box blank- this would result in the Select drop-down being empty when the page loaded. Really useful if you want to make this a required field for which the user is forced to choose something from the drop-down.
Since I updated to 5.4.2, this has broken. When I leave the top line of the Answer Options blank, the Select code fails to close and screws up the rest of the form (the Question text of the next entry in the form becomes the only option in the select dropdown).
So I guess this is both a request for a method to make the dropdown default to blank and a bug report.
A blank line still breaks for the form, though.