|
Posted by Dennis de Wit on 09/01/06 11:23
Advo wrote:
> Basically our new dedicated server doesnt support Javascript, but i
> need to still be able to validate forms.
>
> Im coding the pages in php and was wondering the best way to go about
> it.
>
> for instance, ive got a form with a name/id of title.
>
> I need to make sure this has some text in it, before the user is passed
> to the form action="page.."
>
> Any ideas please?
>
> I think i could get this working no problem if i was sending the form
> details to another page, but I want this like real time, so as soon as
> they press the submit button, it checks the validation, if its correct
> takes them to say processpage.php or if not, gives them an error
> message informing them of the issue.
>
> I want to try and do it onclick of the submit button like the onclick
> in JS but not sure if this is even possible with php.
>
> Open to advise please.
>
> Thanks
>
Besides, without using some client-side scripting you can only check
your form fields by posting the values to a php script and check the
values before you save. There is no option to check before submittal.
And please be a bit clearer on what you want, since your message is full
of contradictions.
Dennis
Navigation:
[Reply to this message]
|