#1
Hi, I have a problem that when I run this
$result = $this->validation_helper->run();
It redircets from http://localhost/demo/attendance to this url: http://localhost/demo/.
which is undesired.
#2
Need more info... What are you validating? What's in the form? What version of Trongate? Code example...
#3
* Trongate *
* Version: 1.3.3049

form part:



controller:

#4
in the latest trongate it says: This page isn’t workinglocalhost is currently unable to handle this request.
HTTP ERROR 500
#5
I'll try to get to your request over the weekend. I am busy with a few things at the moment. Yes, I have seen that server error too, and will let DC know or try to solve it if I get the time.
#6
OK, a few things are going on here
- firstly, you need to ensure the validation rules match the form element "inputContact" so the corresponding rules should be:
- secondly, the reason you are being redirected is because of CSRF.

Add to your form.
#7
still same with the above proposed methods.
#8
That's fine DC - it works fine for me - here is the code I created based on the above:


The PHP 500 error you posted on 9th May is something completely different to the first issue you were seeing...
#9
redirecting back to the url:
was in the older trongate version. when I download latest trongate app builder, then it says:
#10
You are not making much sense... I suggest you create a new app with the Desktop app and then import your database from the old one, ensure the app runs fine from the welcome module. Then copy over anything you may have put in the public folder(s) and copy a module at a time from the old app, then test, test, test and test!.