So did some thinking and I managed to rewrite the SubmitContourform.cs Class to include a CreateRecordNoJs method that is called from the action attribute of the Form, it pretty much just does what CreateRecord does except that instead of returning a Json object it redirects back to the page (url passed as query string) with an appended query string of validation errors.
It seems to work pretty well and thanks to your nice code (and resharper) it wasnt too much of a headache.
Haha, seriously? That is actually a nice sounding solution! You rock!
Would you mind contributing that back to the project? You can do a collaboration request from the project page, don't forget to include your Codeplex user name in the request.
Javascript not enabled
Hey Sebastiaan,
Thanks for this great package, I was just wondering if you had any suggestions / best practice for users who dont have javascript enabled.
Using your example xslt form works great when JS is enabled but there does not seem to be any contingency for users who dont have JS enabled.
Am i missing something (entirley possible) or do you have any suggestions for how to post the form whne a user does not have JS enabled?
Thanks in advance
Lachlann
You're not missing anything. Making something that does not rely on javascript is way, way harder so I'm not even going to attempt it. :)
:) Well at least I am not missing anything. Thanks for your reply.
L
Hey,
So did some thinking and I managed to rewrite the SubmitContourform.cs Class to include a CreateRecordNoJs method that is called from the action attribute of the Form, it pretty much just does what CreateRecord does except that instead of returning a Json object it redirects back to the page (url passed as query string) with an appended query string of validation errors.
It seems to work pretty well and thanks to your nice code (and resharper) it wasnt too much of a headache.
best
Lachlann
Haha, seriously? That is actually a nice sounding solution! You rock!
Would you mind contributing that back to the project? You can do a collaboration request from the project page, don't forget to include your Codeplex user name in the request.
hey thanks
cant take full credit, Jon (@billywizz) helped too!
I am still tidying it up a little bit but once it is done I will contribute it back to the project, no problem
Thanks
L
That's sweet - would like to see this fully integrated!
is working on a reply...