I am in the process of moving from a different environment to NSB App Studio.
In my previous environment I would have a Form with a number of Input boxes defined. example:
input type="text" name="username" id="username" placeholder="Username">
input type="password" name="password" id="password" placeholder="Password">
input type="submit" value="Submit">
The Submit Button then POST the values by id to the server example:
form name="userform" id="register" action="http://xxx.xxx.xxx.xxx/CheckPWD.php" method="POST">
The PHP script would receive and process the POST:
$fname = $_POST['username'];
$fpassword = $_POST['password'];
I am currently trying the Ajax examples and can only manage to get one POSt or GET value to the server.
I would typically need to pass multiple values (different variables) to a PHP script.
Can anyone help?