DMXzone App Connect Support Product Page


2 Questions for App Connect

Asked 02 Jun 2017 17:41:00
has this question
02 Jun 2017 17:41:00 Bobby Edgar posted:
I have a very long form with lots of fields. It's setup to check for duplicates against the database and it works fine. When a duplicate is found, it'll display the error message right below the form field used to validate.

I want to be able to display that error message in another location of my form (like closer to the submit button at the end of the form) so that the visitor sees it when they submit so they see the problem right away.

I have a PHP script that I use to process things. I need to be able to pass a url to that script with a form value at the end of the actions setup on my form.

example - ascript.php?something={{$_POST.form_value}}

Can you help me?


Replied 05 Jun 2017 09:11:22
05 Jun 2017 09:11:22 Teodor Kuduschiev replied:
Hi Bobby,
You can bind the Inputname.validationMessage anywhere on your page to show the error wherever you need it:

As for the script question - should you redirect to that script or how it is supposed to work?
Replied 05 Jun 2017 21:06:27
05 Jun 2017 21:06:27 Bobby Edgar replied:
it needs to send the form value to a php page, process the value, without refreshing the current page.
Replied 11 Jun 2017 19:56:45
11 Jun 2017 19:56:45 George Petrov replied:
Hi Bobby,

For the server side you should use our Server Connect and define all your server actions in there. It fully support the form validator - so you can define server side validations in there and if those fail, it will be reported to the client side and nicely rendered next to the control they apply to. Server Connect is all Ajax based - so submitting and validating will be all without page refresh.


Reply to this topic