formbuilder: hide mailto field

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
paulo ferreira

formbuilder: hide mailto field

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: formbuilder: hide mailto field

Post 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
paulo ferreira

Re: formbuilder: hide mailto field

Post 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
User avatar
mexican
Forum Members
Forum Members
Posts: 16
Joined: Wed Oct 10, 2007 2:34 am

Re: formbuilder: hide mailto field

Post 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 ?
aozuas

Re: formbuilder: hide mailto field

Post 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?
musicscore
Power Poster
Power Poster
Posts: 496
Joined: Wed Jan 25, 2006 11:53 am

Re: formbuilder: hide mailto field

Post 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.
Locked

Return to “CMSMS Core”