Updating a record after form submission

Registered User
18 posts

Hi, so I have a form - but after submission when I get the confirmation page, I would like to add a "subscribe to our newsletter" button.

I have looked at a bunch of other posts mentioning sessions, and think I could probably get something working bringing the email address into the confirmation page, in a second form. Probably hiding the fields so it just has the submit button.

But I'm thinking this would give an extra record in my database (or a separate table).

It would be really useful if I could get a new field for newsletter signups into the same record which has just been submitted.

The multi-page form methods like mentioned here don't work for me because the newsletter signup I want to be optional - people can choose to click a button for it on the confirmation page, or they can leave the page and continue browsing. The main form's data has to be submitted on the first page.

I hope this makes sense, I am wondering if anyone has any ideas how I could go about this?


Senior Advisor
17,887 posts
Online Now

Hi J,
I would use an ajax request to a database after the user checks a subscribe checkbox on your form. You may want to keep the checkbox hidden until all the data on the form that you need for subscription details is filled in.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
Here's my CoffeeCup SCCP Shop with examples of what can be done.
This is a site I built for my work.(RSD)
This is a site I built for use in my job.(HTML Editor)
This is my personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.