WebDB: A workaround for the Hidden Fields bug
Date: 2000/05/23
Message-ID: <wUyW4.25889$S31.511204_at_newsread2.prod.itd.earthlink.net>#1/1
Well, in case anyone else had this problem I decided to post my findings. I was trying to use hidden fields in a Form with an Unstructured Layout. We figured out that there was a bug in WebDB with Unstructured Layouts, but when I rewrote the forms from scratch and made them have Structured Layouts, everything worked correctly. Go figure. This is a great workaround as long as you don't absolutely need to have an unstructured layout.
-Sandy
Desert Dweller <noone_at_nowhere.com> wrote in message
news:08YP4.22788$x4.699487_at_newsread1.prod.itd.earthlink.net...
> Hi there,
>
> I am pretty new to WebDB and would really appreciate some help! I can't
get
> my hidden items on a form to really disappear, or to pass themselves as
> parameters to the procedure the form is based on.
>
> I have a form based on a procedure, and the procedure requires several
> parameters. I don't want the user to see *all* of those parameters on the
> form, though -- I would like two to be hidden.
>
> I am calling the form from a report. I'd like to pass the two hidden
> parameters in from the report to the form, instead of their being visible
on
> the form for user entry/update. When the user submits the form, I would
> like it to pass ALL the parameters (both visible and hidden) to the
> underlying procedure.
>
> My report passes the parameters to the form just fine, and testing with
> everything visible works great. But when I set the "Display As" field to
> "Hidden" for my 2 invisible parameters, I'm encountering two problems:
>
> 1) Visual: I get a "ghost" field showing up on my form. It is an "echo"
of
> whatever visible field is closest to the hidden ones. If I put the hidden
> ones at the bottom of the list, the bottom of my form repeats the last
> visible field (without a label). If I put them at the top of the list,
the
> form puts a copy of the first visible field (without a label) before it at
> the top. How can I get rid of this echo field?
>
> 2) Functional: When the form is submitted it does NOT pass along the
values
> for the two hidden parameters. Argh! Is there any way to make the fields
> hidden but still have them passed along as parameters to the procedure?
>
> Thanks so much for any help you can offer!
> -Sandy
>
>
>
>
>
>
>
>
>
Received on Tue May 23 2000 - 00:00:00 CEST