Custom PHP On SP PageBuilder Form Submit - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Custom PHP On SP PageBuilder Form Submit

I

interstorm

SP Page Builder 4 years ago

First off, thank you for such a wonderful framework and tool -- I love Helix and SP Pagebuilder!

I'm hoping you can help me solve something -- I have a form that needs to write to a database other than the default MySQL one used by the site (my client prefers a MySQL database to power the site but then a separate, often MSSQL database instance, to store a lot of the data and be used for integration with other applications). How could I best achieve that with SP PageBuilder's form builder -- writing to an external database? For reference, JoomlaShine's Uniform extension could do this well with custom PHP execution after the form was submitted. I'm hoping SP Pagebuilder can do the same since your extensions appear more capable that JoomlaShine's!

I appreciate your thoughts!

0
2 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #43574

Hello interstorm

Thanks for appreciating us. Please follow this documentation to use Custom PHP on SP Page Builder. However, Form Builder addon does not store the data to the database. It retireves the data and send you in email.

Best regards

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #43591

Hi, as I know storing data from form addon in the database is not planned.

So I guess you have to build your own form that save records inside database OR use Form Builder component that already have this feature. From my side I recommend using: Convert Forms (tassos.gr) - that allows you also to use custom PHP code inside the form. Look

foto_7191_2021.jpg

0