Forums

Problem to store data in the DB

mcbramby 08 Feb, 2014
I have a problem to save in the DB the forms data . 😢

I work in "backend" and work perfectly , I send 2 mails and save the form in the DB .... and i can see the form's data in the DB.πŸ˜€
When I try to use my form in frontend the form don't save the data in the DB 😈 ............... Why ???? πŸ™„

thanks
PAOLO
GreyHead 09 Feb, 2014
Hi Paolo,

How are you showing the form in the front-end? Is it submitting at all?

Please try setting Relative URL to No in the form HTML action.

Bob
mcbramby 09 Feb, 2014
Great GreyHead now work perfectly .................. This Chronoforms is a very good programs ,
pity that there is not a (book) documentation that explain all configuration ...... maybe in ItalianπŸ™‚ ....... but also appreciated in English .

Another question ......... how i can insert , when i see the data DB storage , another fileds for see other data like the name of the people that write in my form ....... ???? Now I can see only "date of insert" & ID ..........:( ....................


thanks
info@bluenewmedia.com 14 Mar, 2014
Hello GreyHead,
sorry for my english.
I have the same problem. It 's true that by setting the "Relative URL to No", the problem is solved.
But my requirement is to stay on the same page after the "Submit".
Do you have any suggestions?
Second option:
I could write the php code to save the data in the database but can you tell me where I have to put on and the correct syntax?
Thank you very much for help.
Piero
GreyHead 14 Mar, 2014
HI Piero,

You can use an Event Loop action, or a Custom Code action with the Joomla! Redirect code to re-load your form page at the end of the On Submit event.
This topic is locked and no more replies can be posted.