-
Book Overview & Buying
-
Table Of Contents
Learning Splunk Web Framework
By :
I want to take a moment to introduce checkboxes to our example. The feature is a fairly recent addition to SimpleXML, but it can be a little confusing how to actually implement the feature in a form, and that is why I am describing it as an advanced form example. When checkboxes are working properly though, it can be a nice addition as it allows your users to specify the values they want and compare when needed.
This is where we will change our example from a drop-down menu to checkboxes, which will allow the user to not only display the generation value they need but also compare between multiple generations.
Access your development server again. We are going to make quite a few changes to the cell_user_generation.xml form that we created earlier:
Start by accessing the development environment. Move into the views directory and open the cell_user_generation.xml file with your text editor.
Move down to line 4, where we define the type input, and change the line to...