Using Ajax Requests to save data instead of Form Posts

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
thecomputerchap
Veteran Member
Posts: 47
Joined: 2016-08-28 10:37

Using Ajax Requests to save data instead of Form Posts

Post by thecomputerchap » 2017-07-23 09:28

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?

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

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

Post by a.gneady » 2017-07-26 11:31

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.
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

thecomputerchap
Veteran Member
Posts: 47
Joined: 2016-08-28 10:37

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

Post by thecomputerchap » 2017-07-28 13:08

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

Post Reply