Page 1 of 1

Using Ajax Requests to save data instead of Form Posts

Posted: 2017-07-23 09:28
by thecomputerchap
I just had a customer who went to fill a large form in. They forgot to complete one of the required fields and when they clicked back on the error message, they lost all the data they had put in the other fields. Since it was a fairly large form there was quite a bit of work lost.

Would Ajax requests solve this issue, and if so, how can it be implemented? Isn't form posting a bit outdated now?

Re: Using Ajax Requests to save data instead of Form Posts

Posted: 2017-07-26 11:31
by a.gneady
Hmm ... If a field is marked 'required' in AppGini, the form won't be submitted unless the field is populated. This is the standard behavior since AppGini 5.40. Is the filed marked required in the database, but not in AppGini?

We plan to add ajax form submissions soon.

Re: Using Ajax Requests to save data instead of Form Posts

Posted: 2017-07-28 13:08
by thecomputerchap
I think it's defined in both AppGini and the database so that may be causing the issue then.

Can't wait till you add Ajax form submissions, that will look slick!! :D