DMXzone App Connect Support Product Page
Answered
2 Questions for App Connect
Asked 7 years ago
1
has this question
7 years ago Bobby Edgar posted:
1: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.
2:
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?
Replies
Replied 7 years ago
7 years ago 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?
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 7 years ago
7 years ago Bobby Edgar replied:
it needs to send the form value to a php page, process the value, without refreshing the current page.
Replied 7 years ago
7 years ago 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.
Greetings,
George
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.
Greetings,
George