Once users begin submitting form entries, you’ll want to do these things with them:
Start by learning how to access and view the entries.
Viewing Form Entries
When users fill out forms, they’re generating data. You’ll want to see that data at some point.
-
From the Menu, navigate back to the Content → Forms section of The Lunar Resort site.
-
Click the Actions () button for the form and select View Entries.
-
What if you have a lot of form fields and you can’t see all the data for each entry in the search container? Just click the Actions () button for the entry and select View. You’re shown all the specifics for that form entry.
Viewing entries is great, but this is serious data we’re talking about. You might need to get all the entries into a spreadsheet so you can work with them.
Exporting Form Entries
So you need to put your form entries in a spreadsheet to do spreadsheet things with them? No problem.
-
Navigate to the Forms application in The Lunar Resort site’s Content section again.
-
Click the Actions () button and select Export.
-
Choose a File Extension. You can export entries in CSV, XLS, or XML formats by default. For this example, pick CSV.
-
Click Okay, and open the file or save it locally. Open it with your favorite spreadsheet program and verify your form entries.
There’s a system level setting to determine whether administrators can export entries in CSV format:
-
Go to Control Panel → Configuration → System Settings and click the Forms category in the Content section.
-
Click the Forms entry under SITE SCOPE.
-
The CSV Export property has three options:
- Enabled to enable CSV Export without a warning
- Enabled (Show Warning) to enable CSV Export with the following warning to administrators: This CSV file contains user supplied inputs. Opening a CSV file in a spreadsheet program may be dangerous.
- Disabled to turn off CSV Export.
Once you export a batch of form entries, it can make sense to delete them from the database.
Deleting Form Entries
What if you export a form’s entries and now you want to remove them from the Liferay database? It’s easy to delete all of a form’s entries at once.
-
Navigate back to the Forms application In The Lunar Resort Content section.
-
Click the Actions () button next to the Guest Survey form and select View Entries again.
-
Select all entries by checking the box next to Filter and Order. A trash can icon () appears in the top right corner of the Form Entries screen. Click it.
If you just wanted to delete a single entry, select that entry by checking its box; then click the trash can.
If you’re worried about deleting everything irrecoverably by accident, don’t worry. You must confirm the deletion in a dialog box that pops up after clicking the trash can.
Now you can create basic forms and manage the entries. Keep reading in this section to learn about the many additional form building features available to you.