Chronoforms [cont] => manager [chronoform] => form-30jul23-1519 [gpage] => end_page [nome] => giampaolo [email] => test@example.com [__cf_token] => 5fe2054f-9e0e-4b29-9e6b-cd534ed28431)Array( [end_page_upload] => Array ( [path] => D:\xampp\htdocs\newLTBWP\wp-content\plugins\chronoforms\front\chronoforms\uploads\ [var] => Array ( ) ) [end_page_validation] => Array ( [log] => Automatic validation enabled. [var] => true ) [settings_admin_email] => Array ( [recipients] => Array ( [0] => test@example.com ) [subject] => Someone has filled Form 30Jul23-1519 on New Site! [body] => we have received the following details: Nome giampaolo E-mail test@example.com This email was sent by ChronoForms7 [result] => the Mail could not be sent. [var] => false ) [end_page_datalog] => Array ( [data] => Array ( [aid] => NULL [form_id] => 7 [uid] => a4d55ce5-8afa-42da-be34-0aae66904438 [user_id] => 1 [created] => 2023-07-30 15:40:05 [modified] => NULL [ipaddress] => ::1 [page] => 2 [data] => {"1":"giampaolo","2":"test@example.com","__loops":null} ) [var] => Array ( [aid] => 33 [form_id] => 7 [uid] => a4d55ce5-8afa-42da-be34-0aae66904438 [user_id] => 1 [created] => 2023-07-30 15:40:05 [modified] => NULL [ipaddress] => ::1 [page] => 2 [data] => {"1":"giampaolo","2":"test@example.com","__loops":null} ) ))"> ChronoForms7 on WP: record data in DB - Forums

Forums

ChronoForms7 on WP: record data in DB

giamas72 30 Jul, 2023
Hello to everyone,
I want to understand how it's possible to store data insert from a user, in a DB table.
What I was able to do is:
1) to create Form
2) insert in the form two fields: "nome" and "email" and a "send button"
3) linked to an existing table in my DB, called "wp_registrazioni_tornei"
4) create an action "save data" in the form to insert a new record in the table. this is done, but ALWAYS with no data inside.

Who do I have to proceed? this is the debug result.
Can you help me?

======
Array
(
    [page] => Chronoforms
    [cont] => manager
    [chronoform] => form-30jul23-1519
    [gpage] => end_page
    [nome] => giampaolo
    [email] => test@example.com
    [__cf_token] => 5fe2054f-9e0e-4b29-9e6b-cd534ed28431
)
Array
(
    [end_page_upload] => Array
        (
            [path] => D:\xampp\htdocs\newLTBWP\wp-content\plugins\chronoforms\front\chronoforms\uploads\
            [var] => Array
                (
                )

        )

    [end_page_validation] => Array
        (
            [log] => Automatic validation enabled.
            [var] => true
        )

    [settings_admin_email] => Array
        (
            [recipients] => Array
                (
                    [0] => test@example.com
                )

            [subject] => Someone has filled Form 30Jul23-1519 on New Site!
            [body] => we have received the following details:
<br><br>
<table width="100%" cellpadding="5" cellspacing="5" border="0" class="email_content_table" style="border:3px solid #e2e2e2; border-radius:7px;" class="ui table"><tr style="border:3px solid #e2e2e2;" class="email_content_tr">
					<td width="50%" valign="middle" align="right" style="background-color:#fafafb; border:3px solid #e2e2e2;" class="email_content_td td_label">
					<strong>Nome</strong>
					</td>
					<td width="50%" valign="middle" align="left" class="email_content_td td_value">giampaolo</td>
					</tr><tr style="border:3px solid #e2e2e2;" class="email_content_tr">
					<td width="50%" valign="middle" align="right" style="background-color:#fafafb; border:3px solid #e2e2e2;" class="email_content_td td_label">
					<strong>E-mail</strong>
					</td>
					<td width="50%" valign="middle" align="left" class="email_content_td td_value">test@example.com</td>
					</tr></table><br><br>This email was sent by <a target="_blank" href="https://www.chronoengine.com/">ChronoForms7</a>
            [result] => the Mail could not be sent.
            [var] => false
        )

    [end_page_datalog] => Array
        (
            [data] => Array
                (
                    [aid] => NULL
                    [form_id] => 7
                    [uid] => a4d55ce5-8afa-42da-be34-0aae66904438
                    [user_id] => 1
                    [created] => 2023-07-30 15:40:05
                    [modified] => NULL
                    [ipaddress] => ::1
                    [page] => 2
                    [data] => {"1":"giampaolo","2":"test@example.com","__loops":null}
                )

            [var] => Array
                (
                    [aid] => 33
                    [form_id] => 7
                    [uid] => a4d55ce5-8afa-42da-be34-0aae66904438
                    [user_id] => 1
                    [created] => 2023-07-30 15:40:05
                    [modified] => NULL
                    [ipaddress] => ::1
                    [page] => 2
                    [data] => {"1":"giampaolo","2":"test@example.com","__loops":null}
                )

        )

)
giamas72 31 Jul, 2023
@Max_admin help!
Max_admin 31 Jul, 2023
Please post screenshots of your form Pages area
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
giamas72 01 Aug, 2023
I had some improvement.
Now it seems to work properly (data are stored in the DB table I created for this scope).
Today I'll try to use CONNECTIVITY in order to read data and to insert in a table to show in the website.
Maybe it should be need some suggestions from you in case of trouble :-)
You need to login to be able to post a reply.