Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Formicula Question
  • Posted: 07.02.2007, 03:49
     
    CelicaGT
    rank:
    Freshman Freshman
    registered:
     October 2004
    Status:
    offline
    last visit:
    03.12.07
    Posts:
    23
    basically on my Formicula form I only have one option of who to contact, so the contact with drop down selection is useless. Basically I need the form to send to the one choice but not display this on the form itself. The bit of code I believe controls this is below, but what do i do to stop it showing but still working in background

    For some reason the quote is not showing properly

    Quote



    <label for="cid"> :</label>
    <select class="formborder" id="cid" name="cid">

    <option value=""></option>

    </select>



    Thanks



    edited by: CelicaGT, Feb 06, 2007 - 03:52 PM
  • Posted: 07.02.2007, 07:28
     
    Wendell
    rank:
    Professional Professional
    registered:
     February 2004
    Status:
    offline
    last visit:
    01.11.08
    Posts:
    1037
    Change it to a hidden input, as such:

    Code

    <input type="hidden" name="cid" value="1" />


    Note that the value of 1 refers to the default contact.

    --
    DWX Logo
  • Posted: 07.02.2007, 18:06
     
    CelicaGT
    rank:
    Freshman Freshman
    registered:
     October 2004
    Status:
    offline
    last visit:
    03.12.07
    Posts:
    23
    Thanks for your help. I'm not great at this but even I should have known that! Obviously brain dead when I asked yesterday! Anyway cheers, really appreciate it.

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula