Hello Danny,
In AB we don't have the concept of "forms", but, can send anything to the app's server in order to be processed. That is, you can place an Input control in one app's view, and, then, place a button to "submit" that input information. What you must to do is to use an HTTP Client control. The HTTP Client control point to an specific URL of your app's server, for example, a possible "register.php" script.
So you can call to that "register.php" script with the HTTP Client control, sending to the script the content of the Input control, and, it's just a sample: of course you can use more than one Input controls if you need it. The point is that, after the app send the register information, the server side is responsible to get that information and proceed with the register of the user, for example, inserting a new record in certain database table.
So the sequence can be resumed in these steps:
There is no more points... because we certainly no need more point in the client side. Again, the client side (our app) send the user information (Input controls) to the server, and, it's the server duty to proceed with the user registration. In other words, we need to work in the client side and also in the server side, in order to complete the register process.
There are various HTTP Client samples included in AB, for example, the "Login" sample let you know also how to send to a server the contents of certain Input controls. But please, Danny, go ahead and post here if you have any specific question around this question and we will try to help you.
P.S. Maybe one thing can be added here: the validation. You can and must validate the user's information in the client side, but also in the server side. So, for example, if you ask the user for a name, but the user don't provide a name in the right Input, you must check this in the client side, so, you can inform to the user that the user's name is missing. After you made the call to the server, the server must also validate the information again, and, only proceed with the register process if everything is ok.
Hello Mark,
Yes; the sample that you mention is available in the previous generation of AB, but, not in the new one. I am working hard in certain "big feature" for the next release, but, may I can have sometime to prepare the sample also for the new generation of AB. In fact, it's not complicated: if you download the previous AB (you can do it from the Releases tab of your customer area), you can probably figure our how to "translate" the sample to the new AB.
Anyway, I will try to give some time to prepare that sample for the new AB and therefore include it with the installation of the product.
P.S. Ok... I will start to translate the sample right now... I will post it here when finish.
Hello Mark,
Ok; here is the Login sample of the previous generation of AB, "translated" to the new generation of the product: Press here to download the sample. This sample will be also included in next release of DecSoft App Builder.
Hello Mark,
Always thanks you for your support, sir. Please, don't hesitate to post here any further question: remember to start a new thread if necessary.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.