Page 1 of 1
formbuilder: hide mailto field
Posted: Thu Aug 02, 2007 6:17 pm
by paulo ferreira
Dear all,
Since this is my first post, let met say thanks and congratulate all CMSMS developers and supporters.
IT IS A LOT BETTER THAN JOMLA !
After spending a full day reading a looking for some info, without success we resort to ask your help:
how can we hide the mailto field ?
adding {mailto->display=0} does not work in IE7, firefox is ok.
many thanks
Re: formbuilder: hide mailto field
Posted: Thu Aug 02, 2007 6:51 pm
by RonnyK
Paulo,
what do you exactly mean. If you have created a form with FormBuilder and have used "*Email Results to set Address(es)" or "*Email Results based on pulldown list", the mail address where the mail will go to won't end up in the source and is only pulled after sending the form.
Ronny
Re: formbuilder: hide mailto field
Posted: Fri Aug 03, 2007 12:10 am
by paulo ferreira
the link is :
http://www.kib.pt/index.php?page=contactos
with ie7 there is a grey box in the form just after the text "teste**"
with firefox this box does not show
the field i'm, using is a "*Email Results to set Address(es)" type named "mailto"
in the form template if I set {mailto->display=0} this grey box does not apear in firefox
and if I set {mailto->display=1} this grey box does apears in firefox
with ie7 the box always apears
thanks for the prompt reply
Re: formbuilder: hide mailto field
Posted: Sat Oct 27, 2007 7:36 am
by mexican
Hi
i try the same thing but i cannot set the vale "display=0"
i get
string(146) "Smarty error: [in module_db_tpl:FormBuilder;fb_3 line 99]: syntax error: unrecognized tag: mailto->display=0
error.
any ideas ?
Re: formbuilder: hide mailto field
Posted: Tue Nov 20, 2007 3:31 pm
by aozuas
Hi, I am trying to do something similar, to hide a field using Formbuilder.
Did you solve your problem paulo? What did you do?
Do you know the correct way to use the field->display option?
Re: formbuilder: hide mailto field
Posted: Mon Apr 06, 2009 10:28 am
by musicscore
I removed the e-mail from the screen by using the display: none; in the stylesheet.
The only problem is, that the e-mail adres isn't removed from the HTML code.