Custom PHP on SP PageBuilder Form Submit - Forum | JoomShaper
Staff replied SP Page Builder

Custom PHP on SP PageBuilder Form Submit

Asked by interstorm 4 years ago Last activity 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!

2 replies

Ofi Khan Staff

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

Paul Frankowski Senior Staff

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

Log in to reply.