|
Posted by Rebekha Ljoekelsoey on 03/14/06 15:04
"Steve Pugh" <steve@pugh.net> wrote in message
news:grdd129l8nbfn4s5hchsdgfar1ua5qnbkg@4ax.com...
> "Rebekha Ljoekelsoey" <rebekha.ljoekelsoey@ladt.org> wrote:
>
> >Can I ask for clarification regarding hidden elements in forms and the
use
> >of the mailto:
>
> Normally the answer is don't use mailto in forms because normally
> people are trying to do something stupid like <form
> action="mailto:name@server.co.uk">
>
> >I have recently been told that the inclusion of the mailto: will render
the
> >form inoperative
> ><input type="hidden" name="recipient" value="mailto:name@server.co.uk">
>
> It might, it might not. The above is perfectly fine HTML. What it does
> as part of a form submission is outside the realms of HTML.
>
> >Mailto: in the hidden field shouldn't be there are it makes the form
> >inoperable.
>
> That depends entirely on the script that handles the submitted form
> data. If the script is expecting an e-mail address then including
> mailto: will screw things up. Of course of the script is expecting an
> e-mail address and will just send the form submission to that e-mail
> address then you have other problems...
>
> >Mailto: should only be used in a normal email link.
>
> And only then with care.
>
> >Your comments would be warmly appreciated
>
> What's the big picture?
>
> Steve
> --
> "My theories appal you, my heresies outrage you,
> I never answer letters and you don't like my tie." - The Doctor
>
> Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
Big picture. I recently had several candidates enter an examination and they
all failed for including the mailto: in the hidden element of an html
interactive form. The examining body said that this action resulted in
making the form inoperative, now I know and you know that this is not true
as all the mailto: in a hidden element produces is a copy of the forms
content to be sent to the recipient along with the webmail thingy.
Very frustrating, but who can argue with OCR
RML
Navigation:
[Reply to this message]
|