ShaastraWebops / ERP14

The Enterprise Resource Planner for Shaastra 2014
0 stars 0 forks source link

Task Creation pages - minor errors & some work. #27

Closed samirotiv closed 11 years ago

samirotiv commented 11 years ago

Although it all works, there is a small problem in task creation. For some reason, when you click Submit, the entire page seems to refresh, and so if the form isn't valid, the errors aren't shown because the whole page refreshes. And the incorrectly filled form gets wiped out, and a blank form is presented.

This behavior needs to be fixed, and the errors need to be displayed on the page. The latter is a very easy job.

AbdealiLoKo commented 11 years ago

I have displayed the errors by making the input tags have a red border. Still Need to show messages for errors ..

I have also eliminated the refreshing problem : basak was right, you were using the type="submit" button ... you whouldn't use that if you want it to not refresh. I put a anchor-tag there instead which handles it.

I've also made the cross/intra tasks completely dajax (even the displaying)

AbdealiLoKo commented 11 years ago

The major problem has been solved in b681535eb815e105b981ff88e27b1c0fe46e4368 As mentioned above, currently no form shows the error mesage (As to why the form didnt get saved.) Closing this issue.