The Webform Generator plugin allows you to create customized webforms natively in your app. Forms can be connected to a .php file stored on your webserver, and sent off using a stylish submit button.
There are many options included in this plugin, some of which are for more advanced uses. You can add images, text (in paragraph form even!), text fields, segment controls, on/off switches, sliders, blank lines for spacing, and hidden fields for sending non-editable/private data.
Each element has its own customization option, such as default values, alignment of the object, addition of icons/images for explanation, etc.
INSTALLATION
------------------
This plugin requires a php script to handle the data sent from the form. When you add a Webform Generator screen to your app, you will need to set the location (URL) of the script in your control panel.
iOS Project
------------------------
The files you need for this plugin are automatically included in the project
package you download from the Download Source Code screen in your control panel.
These files are listed below:
CR_Webform_generator.m
CR_Webform_generator.h
CR_customLabel.m
CR_customLabel.h
CR_cell_submitButton.m
CR_cell_pickerView.m
CR_cell_pickerView.h
CR_customPickerView.m
CR_customPickerView.h
CR_cell_image.m
CR_blankEntry.m
CR_cell_label.m
CR_cell_onoffInput.m
CR_cell_segmentInput.m
CR_cell_sliderInput.m
CR_cell_textInput.m
CR_webform_array.m
CR_customTextField.m
CR_cell_onoffInput.h
CR_cell_textInput.h
CR_webform_array.h
CR_blankEntry.h
CR_cell_image.h
CR_cell_label.h
CR_cell_segmentInput.h
CR_cell_sliderInput.h
CR_customTextField.h
CR_cell_submitButton.h
cr_mylogo.png
Android Project
------------------------
This plugin is iOS only for now. Android files are included, but will point to a blank screen. These files are:
CR_Webform_generator.java
screen_cr_webform_generator.xml
JSON Data
------------------------
{"itemId":"BC40BBD39ECDB8EE897C316", "itemType":"CR_Webform_generator", "itemNickname":"webformGenerator", "settingsFileName":"Profile", "ForcePortrait":"YES", "navBarTitleText":"Webform Generator", "navBarStyle":"solid", "listRowHeightSmallDevice":"50", "includeAds":"0",
"childItems":[
{"itemId":"34250A641D6A48B55CF1485", "itemType":"BT_menuItem", "cellType":"imageField","titleText":"logo"},
{"itemId":"539E5CE4B8F48219E585477", "itemType":"BT_menuItem", "cellType":"titleLabel", "titleText":"Description", "align":"left", "labelText":"This is a demo of the Webform Generator plugin. It can be used in lots of ways", "listRowHeightSmallDevice":"150", "listRowHeightLargeDevice":"200"},
{"itemId":"19CA3E680BC9AB7A6415D6A", "itemType":"BT_menuItem", "cellType":"blankEntry", "titleText":"blank1", "iPhoneBlank":"YES", "iPadBlank":"NO"},
{"itemId":"A7BA7299F457E69EF20B0BE", "itemType":"BT_menuItem", "cellType":"textField", "titleText":"name", "fieldName":"name", "align":"center", "placeholder":"Name", "keyboardType":"Default", "passwordField":"No", "iconName":"name.png", "listIconSizeSmallDevice":"100"},
{"itemId":"B988D4EA3B840FFCA36A13D", "itemType":"BT_menuItem", "cellType":"textField", "titleText":"email", "fieldName":"email", "align":"center", "placeholder":"
[email protected]", "keyboardType":"Email", "passwordField":"No", "iconName":"email.png"},
{"itemId":"8CF7172AD2FCFD678C00115", "itemType":"BT_menuItem", "cellType":"switchInput", "titleText":"newsletter", "fieldName":"newsletter", "align":"left", "iconName":"newsletter.png"},
{"itemId":"F76924B538739C4788EAE71", "itemType":"BT_menuItem", "cellType":"submitButton", "titleText":"Submit", "align":"center", "phpURL":"
http://www.yourdomain.com/phpscript.php", "successAlert":"YES", "successAlertTitle":"Success!", "successAlertDesc":"Thank you for signing up!", "failureAlert":"YES", "failureAlertTitle":"uh oh!", "failureAlertDesc":"Something went wrong"}
]}