|
|
|
MojoProtector MySQL Documentation
Custom Database
Fields
|
Database is one of the most important parts of a program, and having control over how it should be is even more important. Therefore, we offer you the ability to design your own "programs" by having unique databases.
Not only you can set the database name, you can decide what messages to give out in case of an error, whether it is a popup menu or a text field, whether it is required or optional, whether its input can be anything or just numbers....
Getting started
In order for you to start, I need to show you how to get there. In your admin area, click on "database" link, select a database you want to edit, and click submit. On the database page, you will see every database field with an option to edit them to the way you want. Click on anything and let me explain what each means.
| Internal
ID |
This is the ID of the database field and cannot be changed. |
| Name |
This is the name that will be displayed. |
| Error
Message |
If members failed to get past this field due to some reasons(see below), this is the error message that will be displayed to them... Some explaination. |
| Field
Type |
We have 6 field types that you can choose from
- Text Field
- Text Area
- hidden
- Radio Button
- Check Box
- Select menu
|
| Select Options |
If your database field type is radio button, checkbox, or menu, then you need to offer members some choices to choose from. Please enter choices you want saperate by a semicolon ";" |
| Input Value Type |
We check every input according to "Input Value Type" selected here
- Numbers And Characters: only input with 0-9, a-z, and A-Z are accepted.
- Characters: only input with a-z, and A-Z are accepted.
- Numbers: only input with numbers (0-9) are accepted.
- Mixed Input: anything accepted
|
| Extra characters expected? |
Sometimes, you only want input to be numbers only with some exceptional characters, then please enter whatever extra characters here. (i.e phone number is only digit, but a - and () as in (800)988-9888 ) |
| Size (rows) |
For text field and hidden field, this is the size of the text.
For text area, this is the number of rows. |
| Max Size(columns) |
For text field and hidden field, this is the max size of the text.
For text area, this is the number of columns. |
| Default Value |
The default value that will be selected or displayed. |
| Active |
Select "yes" to make this field active, "no" to disable it. |
| Required field |
If this is a required field, select "yes", else "no" |
|
|
|