Follow these steps to add a simple registration page to your website:
- Create a table
- Create a Data Project
- Add a page (type = table)
- Set Allow Insert? to Only
- Copy the shortcode of the registration page
- Paste the shortcode into your web page
A registration page allows users to add a row to your registration table. The registration can be updated until the user leaves the registration page. After closing the page, the data is no longer retrievable for public users. To administer registrations, you need to create an additional CRUD page.
IMPORTANT Please notice that tab Manage Table Options is no longer available. Table Options was renamed to Project Templates and can now be accessed directly from the plugin menu.
Here is the create table script for the demo table
CREATE TABLE `registration`
(`id` int(10) NOT NULL auto_increment
,`firstname` varchar(100) NOT NULL
,`lastname` varchar(100) NOT NULL
,`gender` enum('','Female','Male')
,`birthdate` date NULL
,`address` varchar(100) NULL
,`zipcode` varchar(100) NULL
,`city` varchar(100) NULL
,`state` varchar(100) NULL
,`country` varchar(100) NULL
,`email` varchar(100) NOT NULL
,`phone` varchar(10) NOT NULL
,`message` text NULL
,`interest` set('','Sports','Music','Art')
,PRIMARY KEY (`id`)
)