Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Balds #1
hiding fields in a record that have no data
I am assuming this is pretty simple to do, but I am not sure how. I have an
asp intranet site I am building. I have a one admin form that allows users to
post a meeting. They meeting has an area to select a start time and end time.
in the start time they can select all day event, in which they end time is left
empty. How on the detail page the user sees, can I hide a field if there is
not data in it. dreamweaver has the ability to hide a recordset and display
something else if the recordset is empty, how do you do it for just one field
and not the whole recordset. Thanks Craig
Balds Guest
-
Hiding Text when MySQL has no data value
When a user signs into my website, he/she sees the following personalized information: Name: sample user Birthdate: 01/01/2005 Favorite color:... -
Related Fields - Getting New data into them
I have related fields that pull data from a record if it matches the serial number from the other record. What i want to be able to do is if... -
Fields.value other data types help
Thanks for the answers to my other post. You nailed it, not char data types. How can I iterate through the fields when the fields are int,... -
Hiding data from screen scrapers and bots
I was hoping someone here would know something about screen scrapers, spiders, bots. Perhaps it's a stupid question, but here it goes anyway... ... -
Raw Column Data to Fields
Here is the situation: Table1 col1 ------------------------------------------- FirstNameLastNameMiddleNameStateCode First 9 chars are... -
Nancy Gill #2
Re: hiding fields in a record that have no data
Select the dynamic code on the page and use the server behavior "Show If
Recordset is not Empty". That will make the area you selected visible only
if that field has info for that record.
--
Nancy Gill
Team Macromedia Volunteer for Dreamweaver MX/UltraDev
[url]http://www.macromedia.com/go/team/[/url]
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
"Balds" <webforumsuser@macromedia.com> wrote in message
news:d2cq0a$hpu$1@forums.macromedia.com...an> I am assuming this is pretty simple to do, but I am not sure how. I haveusers to> asp intranet site I am building. I have a one admin form that allowstime.> post a meeting. They meeting has an area to select a start time and endleft> in the start time they can select all day event, in which they end time isis> empty. How on the detail page the user sees, can I hide a field if theredisplay> not data in it. dreamweaver has the ability to hide a recordset andfield> something else if the recordset is empty, how do you do it for just one> and not the whole recordset. Thanks Craig
>
Nancy Gill Guest
-
Joe Makowiec #3
Re: hiding fields in a record that have no data
On Tue 29 Mar 2005 06:56:58p, Balds wrote in macromedia.dreamweaver.appdev:
Pseudocode:> How on the detail page the user sees, can I hide a field if there is
> not data in it.
if (length(myfield) > 0) then
print myfield
end if
Joe Makowiec Guest
-
Balds #4
Re: hiding fields in a record that have no data
I tried both methods and couldn't get either one to work. I have tried the
'show if recordset is not empty' before and that seems to only work if I am
talking about a whole record not just a field in that record. I should mention
that I also need to hide the field tag also so I have a <tr> web site:
(website field from database) </tr> I need that whole <tr> to hide if there is
not a value for that field. I also tried the following: But I do not think
I am sure how to implement this. I am a novice in asp coding. where do I put
that, is there any other syntax that needs to go with it? is that enough code
to hide the field name tag also or just the field itself? if (length(myfield)> 0) then print myfield end ifBalds Guest



Reply With Quote

