Picklists

When we examined the code to generate a form to edit an instance, we did not look into the details of implementing picklists. Picklists are a great way to reduce input errors. Anywhere a limited list of values is permitted, we can use a picklist, thereby preventing the user from inadvertently entering a value that is not allowed. In doing so, we can also associate each possible value with a meaningful label.

Note

We already have the possibility to add a validation function, but this function only checks the input; it does not provide us with a list of possible choices.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.142.166