link application form data to heroku data base

acct.academy2020
3 Posts
acct.academy2020 posted this 03 September 2021
Ask a Question

I have made this application form
and i have data base in heroku and i need to link it with my data base
when visitor press submit it take his data to my data base

and attached photo to application form

hear is my request to post
curl --location --request POST
'https://acct-academy.herokuapp.com/courses/612e009a1f42896814107aa0/form/' \
--data-raw '{
"nameArabic" : "محمود",
"name" : "Mahmoud",
"phone" : "1234",
"address" : "fgd",
"country" : "egy",
"email" : "test@test.com"
}'

I have made this application form and i have data base in heroku and i need to link it with my data base when visitor press submit it take his data to my data base and attached photo to application form ------------------ hear is my request to post curl --location --request POST 'https://acct-academy.herokuapp.com/courses/612e009a1f42896814107aa0/form/' \ --data-raw '{ "nameArabic" : "محمود", "name" : "Mahmoud", "phone" : "1234", "address" : "fgd", "country" : "egy", "email" : "test@test.com" }'
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 09 September 2021

Hello,

Nicepage Form, as well as any other HTML form, just collects the data. What the server should do with this data is specified in the form action script. For example, Nicepage provides the script that "tells" the server to send an email. In your case, you need the PHP script that will send the data from the form to the database. Unfortunately, the Nicepage app does not provide such a script. But you can use a custom script.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello, Nicepage Form, as well as any other HTML form, just collects the data. What the server should do with this data is specified in the form action script. For example, Nicepage provides the script that "tells" the server to send an email. In your case, you need the PHP script that will send the data from the form to the database. Unfortunately, the Nicepage app does not provide such a script. But you can use a custom script. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments