DMXzone App Connect Support Product Page

Answered

Show message after successful insert

Asked 29 May 2017 09:57:41
1
has this question
29 May 2017 09:57:41 Ken Pollard posted:
I am inserting a new record with app connect and then redirecting them to the log in page. I would like to have a message there for a new user. It seems I can only use the form success once and i am using that for the redirect. Should I add a session var to the server connect flow and look for that, or is there a more efficient way. I would like to have it hidden the show via a dynamic attribute. Thanks!

Replies

Replied 29 May 2017 10:07:05
29 May 2017 10:07:05 Teodor Kuduschiev replied:
Hello Ken,
You can use HTML5 responsive notify extension, like shown here: www.dmxzone.com/go/32796/dmxzone-app-connect-static-events/ in order to show a message, on success insert.
Replied 29 May 2017 16:38:18
29 May 2017 16:38:18 Ken Pollard replied:
Thanks again Teodor, Appreciate the quick response!
Ken
Replied 29 May 2017 18:29:19
29 May 2017 18:29:19 Ken Pollard replied:
Teodor, not sure if I'm doing something incorrect. When placing a Responsive Notify static event on my form it breaks the form. To fix it I needed to change all the double quotes " to single quotes '. After that it worked.

Original created: onerror="dmxNotifyAction({"type": "error", "positionClass":"'toast-top-center", "title": "Sign In Error!", "msg": "Your username or password are incorrect. Please check them and try again.", "extendedTimeOut": 2000, "tapToDismiss": false});"

Changes to fix: onerror="dmxNotifyAction({'type': 'error', 'positionClass': 'toast-top-center', 'title': 'Sign In Error!', 'msg': 'Your username or password are incorrect. Please check them and try again.', 'extendedTimeOut': 2000, 'tapToDismiss': false});"
Replied 30 May 2017 07:26:22
30 May 2017 07:26:22 Teodor Kuduschiev replied:
Hi Ken,
What is your DW version?
Dreamweaver should automatically escape the double quotes: " as: "

Reply to this topic