Mailing List Archive

%fdat doesn't contain blank fields
Just a quick question. Does anybody know why %fdat doesn't contain empty
strings for parameters that are blank (zero-length) ? For example, form
input fields that are blank, or that the user has deleted, do not appear in
%fdat. This doesn't make sense to me, as it keeps the value if the user
enters a single space, for example.

What's the reasoning behind this feature ?

By the way, I have a perl-script editor wrapper that I use for editing
EmbPerl HTML pages. It automatically converts to/from certain HTML escapes
(including European letters), and it puts line-feeds in where DreamWeaver
takes them out (to make the EmbPerl code more easily readable again after
everything has been rearranged). It may not be to everyone's taste, but if
this sounds useful, take a look:

<http://www.aguazul.demon.co.uk/stuff/>

Jim

--
Jim Peters / __ | \ Aguazul
/ /| /| )| /| / )|| \
jim@aguazul. \ (_|(_|(_|(_| )(_|I / www.aguazul.
demon.co.uk \ ._) _/ / demon.co.uk
RE: %fdat doesn't contain blank fields [ In reply to ]
>
> Just a quick question. Does anybody know why %fdat doesn't contain empty
> strings for parameters that are blank (zero-length) ? For example, form
> input fields that are blank, or that the user has deleted, do not
> appear in
> %fdat. This doesn't make sense to me, as it keeps the value if the user
> enters a single space, for example.
>

Set optAllFormData to change the behaviour

Gerald