HighDots Forums  

Show field in form mailer ONLY if text is entered

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Show field in form mailer ONLY if text is entered in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DawnPaul
 
Posts: n/a

Default Show field in form mailer ONLY if text is entered - 08-25-2008 , 10:45 AM






Is there a way to have fields only show if text is entered? I have a request
form with over 300 items available for request and would like formmailer to
show ONLY the fields of the items that are being requested. Are there any
suggestions? Please help! Thanks!:confused;


Reply With Quote
  #2  
Old   
bregent
 
Posts: n/a

Default Re: Show field in form mailer ONLY if text is entered - 08-25-2008 , 12:33 PM






You would need to add conditions to the script so that it would test if the
field was empty or not and then add the field if appropriate. With that many
fields, you should build a function in the script to handle this. Do you any
experience writing server side scripts?


Reply With Quote
  #3  
Old   
Walt F. Schaefer
 
Posts: n/a

Default Re: Show field in form mailer ONLY if text is entered - 08-25-2008 , 01:56 PM



ProcessForm.php - http://www.mindpalette.com/

--

Walt


"DawnPaul" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Is there a way to have fields only show if text is entered? I have a
request
form with over 300 items available for request and would like formmailer
to
show ONLY the fields of the items that are being requested. Are there any
suggestions? Please help! Thanks!:confused;




Reply With Quote
  #4  
Old   
DawnPaul
 
Posts: n/a

Default Re: Show field in form mailer ONLY if text is entered - 08-27-2008 , 10:51 AM



No, I really don't. Any assistance you could provide would be appreciated.
This form is to help teachers. I really want it to be the best it can be and
having these empty fields excluded from the confirmation and email would be
helpful. The only other suggestion I've seen is to add a "NoEmpty" value to a
hidden mail option field... I tried that and it didn't work.


Reply With Quote
  #5  
Old   
Walt F. Schaefer
 
Posts: n/a

Default Re: Show field in form mailer ONLY if text is entered - 08-27-2008 , 02:47 PM



I gave you a solution. Did you not see my post?

--

Walt


"DawnPaul" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
No, I really don't. Any assistance you could provide would be
appreciated.
This form is to help teachers. I really want it to be the best it can be
and
having these empty fields excluded from the confirmation and email would
be
helpful. The only other suggestion I've seen is to add a "NoEmpty" value
to a
hidden mail option field... I tried that and it didn't work.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.