Forums

Send form without page refresh

inocampo 10 Dec, 2012
regards,

Thank you very much for the ChronoForms component, I am gathering the money to pay for use and help give long life to this project.

I need to do two things:

1. Make that when you click the submit button the data is inserted into the database, but the page that the form is not refresh, they are cleaned only fields to add more data.

2. How do I make a form header and one detail that detail relationship take as a form field header.

GreyHead 12 Dec, 2012
Hi inocampo,

You can certainly do this by having the form re-load after it submits (use the Event Loop or Show Form actions to of this). It's probably possible to write JavaScript to submit the form using Ajax without it submitting but I've never tried to do that. There's also the iFrame Request action that looks as though it will do this but again I haven't used it.

Bob
tohuw 15 Dec, 2012

Hi inocampo,

You can certainly do this by having the form re-load after it submits (use the Event Loop or Show Form actions to of this). It's probably possible to write JavaScript to submit the form using Ajax without it submitting but I've never tried to do that. There's also the iFrame Request action that looks as though it will do this but again I haven't used it.

Bob



Hi Bob,

Can you elaborate on this a bit? I've created a form inside of a lightbox, but the challenge is that submit refreshes the page, so the lightbox is closed, and the user has no idea if their form submitted or not unless they open the lightbox again...
GreyHead 15 Dec, 2012
Hi CMG,

I think that someone solved this before by using the iFrame option for the modal window so that the Thank you message redisplays in the same iFrame.

Bob
inocampo 07 Oct, 2013
I can have Sopoerte on my requirements on my ChronoForms cronoforms if valid?

1). Create a master detail with ChronoForms
2). That work Chronoconnectivity delete option
3). Send messages ChronoForms after editing with Chronoconnectivity
4). Add custom actions to my personal Chronoconnectivity
5). Make a double drop-down
6). Using ajax on some actions of my form.
7). Make server validations.
GreyHead 07 Oct, 2013
Hi inocampo,

Please only post in existing topics if your question is on the same topic; and please try to avoid double posting the same question in different threads.

Please see this FAQ for more about getting help with ChronoForms.

Bob
This topic is locked and no more replies can be posted.