Hi Wendy,
Currently eForm does not use js to validate the forums. I think the use can add his/her own js codes to validate the input at the moment.
IMO we should not rely on JS validation when submiting data to the server as JS functions can be easily overridden.
How about using prototype to allow validation with PHP, but it will use AJAX to do that. So if the client does not support js, it will degrade gracefully to postback. All we need is a best practive to use this. I know nothing about js, but I will try to give it a go. If you know how, would like to share it with us?
Thanks
Now that’s a cool idea. Using prototype should be very straight forward for most apps.
what would be great is a form builder that uses a grid to visually make the form anyway you want then convert it to a live form.
@Raymond: The installer needs to be adapted to create a folder called eform in the folder snippets.
-
☆ A M B ☆
- 24,524 Posts
It won’t be able to create the folder unless the "snippets" folder is world-writable (777), which is really not a good idea.
Quote from: Dimmy at Jun 14, 2006, 01:47 AM
@Raymond: The installer needs to be adapted to create a folder called eform in the folder snippets.
Thanks Dimmy,
I’ll correct this