Widget Submit Button support
bkowalk said 1 year, 1 month ago:
I have created a DB table and can successfully add records to it through a data entry form. I would like to enhance the form with two more functions:
1. When a user clicks the submit button, I’d like to send the user an email of the record (what they just entered), or at the very least change the confirmation dialogue box to say “Successfully registered”
2. Upon clicking the Submit button, I would also like the submit to send them to another page in the website. How can this be done?
Finally, this second page would be a Paypal widget to collect a payment. Is there a way to add a payment record to a table?
My domain is CampSkillsRock.com
mike42 said 1 year, 1 month ago:
@bkowalk,
The redirect wouldn’t be able to be done with just the standard widget. You can try to modify the javascript of the widget to allow it to redirect like you wish, however, we wouldn’t have any specific scripts we could offer:
Custom JavaScript for Easy Database for Websites
http://support.godaddy.com/help/article/6701
–Mike
bcb said 1 year, 1 month ago:
@bkowalk
Unfortunately at this time we do not have the ability to send the user an email of their submission.
However we did just recently add the ability to redirect users after a form submission. To do this, in the Widget Builder interface for a Data Entry widget, you will see options in the bottom right. One of them will say “Redirect URL”. If you fill this in with a URL such as “http://www.google.com/” or “/thankyou.html” it will redirect them after a successful submission rather than display the popup message.
If you just want to change the popup message, then you will need to do custom javascript, as Mike mentioned above, to override it. If you need assistance with that let me know.
Also there are not currently any integrations with paypal so you would not be able to automatically track payment. You could use the redirect page to display your paypal payment information. You could always add a column for “PaymentReceived” that is hidden from users and not on the form, that you manually update after you receive a payment.
Hope that helps!
Regards,
Brad B.
Easy Database Developer
10 min expected wait time