Objective :
Create a simple online web application that can be used to type in race numbers. Once a number is typed in the time will automatically posted to a field. This could be used to manually record numbers of competitors coming across a finish line on mobile phones provided all phones have access to a web browser and they have 4G connection or wifi connection.
First go to the administrator url and sign in with the Global Administrator username and password to get into the design form.
The format of this is
If you wish to delete a project go to the delete tab within the site select the site you wish to delete then hit Delete
It will then present you with a sanity check window
Pressing enter again you get a site administration check box again
Adding a New Site in Nubuilder Pro
Go back to the opening screen and this time go to the Add Tab.
You should be presented with an Add Dialog window.
Type in the name you wish your new project to be here I call it racenumber – note the name has to be all lower case.
Hit create after which there will be a short delay while the site is created.
There will be a short delay while the site is created
You will then be presented with the Administration panel with your new site created something like the following
Now click on the site you are interested in this case race number which will take you to the login panel
Now enter the global username and password that you were originally handed out.
Once logged in you should be presented with the following screen.
Hitting the database button will take you to the php-myadmin control panel
The First step is to create a table to hold all the data
This can be done buy using the create table button on the bottom left.
Here I am creating a table called T002Time to which I add three columns. I set the AI which stands for Auto Increment to yes and I set this field as an index I also add a time field and set the default to current_time – note that in phpmyadmin fields will not necessarily accept default functions but Time variable type accepts current_time. Current_time function returns date and time.
Here I have forgotten the racenumber field so I create some SQL to add this in.
Now we want to go back to the Nubuilder web application panel
Hit the form wizard – now select the T002Time drop down in the table name and use the add to Browse column and add to Form Objects button to transfer everything across to the respective columns as follows.
This will run and in the background create a form which you can see by going through the User Home screen as follows
Now lets remove some fields we no longer need
Go to objects we can see that three columns relate to to the T002Time(form) Lets do several things
1. Remove DTime from the form
2. Remove the Race FKID from the form
3. Change the label of the home Form button T002Timebtn to Race Numbers
Firstly in the objects button go into the two lines you wish to remove from the form
and when the object details appear delete them.
After a warning message you should be presented with the new list of object without the object recently deleted.
The new form should look something like this.
That’s 1 and 2 done now lets try and get that button bigger.
Now in here I am going to remove the RACEFKID and make the DTIME much wider
Now we see
Now lets see if we can move this field to the centre of the screen this can be done while in global administration mode by clicking on the following button
Reposition then add users and that should be you.