Show radio button results in Perch Forms submit results
I added a radio button to a form. How would I get the result of a selection to show up in the Apps -> Forms results?
The same would go for type="select".
The use case is a lost-and-found form where most of the questions are the same, and the radio results will show the editor whether the submission is for a lost or a found item.
<perch:form id="lost_found" method="post" app="perch_forms" role="form"> <div class="radiowrapper"> <perch:label for="choose">Are you reporting a lost or a found item?</perch:label> <perch:input id="choose" type="radio" name="Lost and Found" options="Lost,Found" /> </div> </perch:form>
Diagnostics report HEALTH CHECK
Perch is up to date PHP 5.6.10 is up to date MySQL 5.5.42 is up to date Image processing available SUMMARY INFORMATION
Perch: 2.8.14, PHP: 5.6.10, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $, with PDO Server OS: Darwin, apache2handler Installed apps: content (2.8.14), assets (2.8.14), categories (2.8.14), perch_forms (1.8.3) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_forms', ); PERCH_LOGINPATH: /perch PERCH_PATH: /Applications/MAMP/htdocs/wtowers/perch PERCH_CORE: /Applications/MAMP/htdocs/wtowers/perch/core PERCH_RESFILEPATH: /Applications/MAMP/htdocs/wtowers/perch/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M Resource folder writeable: Yes HTTP_HOST: wtowers.dev DOCUMENT_ROOT: /Applications/MAMP/htdocs/wtowers REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php