DMXzone Mailer Support Product Page

Solved

post values not working

Reported 18 Dec 2017 20:10:45
1
has this problem
18 Dec 2017 20:10:45 steve kirchuk posted:
Hi .. I added a send mail action after an insert .. the post values work for the insert but not the email script ... "toEmail": "{{$_POST.email}}", if i hard code an email in place of the {{$_POST.email}} the email gets delivered, so the mailer settings are correct .. thanks !

Replies

Replied 19 Dec 2017 07:27:26
19 Dec 2017 07:27:26 Teodor Kuduschiev replied:
Hi Steve,
Is there any error message in the console, when you submit your form as per this video?

www.dmxzone.com/go/32354/debugging-problems-in-dmxzone-server-connect/
Replied 19 Dec 2017 15:32:46
19 Dec 2017 15:32:46 steve kirchuk replied:
I am not seeing any error .. I have repeat that is updated on insert that seems to be constantly refreshing but I guess that's what its supposed to do. I do not have the server expression formatter extension. It seems that its the formatting of the {{post.value}} .. thanks !
Replied 19 Dec 2017 16:04:40
19 Dec 2017 16:04:40 Teodor Kuduschiev replied:
I don't understand what you mean by:

Quoterepeat that is updated on insert that seems to be constantly refreshing

and

QuoteI do not have the server expression formatter extension. It seems that its the formatting of the {{post.value}}


Please provide a link to your page where i can see what the server action outputs in the console, make sure to check all the output options in the steps.


Replied 19 Dec 2017 19:16:25
19 Dec 2017 19:16:25 steve kirchuk replied:
I removed the access restriction.. choose a name form each of the 3 dropdowns and submit

nec2glax.org/ratings/add_rating.php?eid=329
Replied 20 Dec 2017 08:50:47
20 Dec 2017 08:50:47 Teodor Kuduschiev replied:
Hi Steve,
There is some infinite loop on your page which should not be there.
What exactly are you doing there - you have a server action, which on success loads itself? This puts it in an infinite loop - what is the purpose of this?
Replied 20 Dec 2017 13:42:06
20 Dec 2017 13:42:06 steve kirchuk replied:
ok I will check the video example again .. it updates the repeat when a record is added .. thanks
Replied 20 Dec 2017 13:54:19
20 Dec 2017 13:54:19 Teodor Kuduschiev replied:
But currently your server action which lists the data reloads itself - which makes no sense. The insert action should be refreshing it on success.
Replied 20 Dec 2017 15:00:12
20 Dec 2017 15:00:12 steve kirchuk replied:
I must have chosen the wrong action to trigger the load ... I also decided to have the success trigger a go to url and then send the email from that page .. thanks

Reply to this topic