+ Reply to Thread
Results 1 to 2 of 2

Thread: What are all these "input hidden" entries for?

  1. #1
    Join Date
    Mar 2009
    Posts
    24

    Question What are all these "input hidden" entries for?

    At the top of my form, there is this:
    Code:
    <input type="hidden" name="recipients" value="pams9127f4nightowl.net" />
    <input type="hidden" name="required" value="EmailAddr:Your email address,Name:Your name" />
    <input type="hidden" name="derive_fields" value="email=EmailAddr,realname=Name" />
    <input type="hidden" name="mail_options" value="Exclude=email;realname;your_good_url,KeepLines" />
    <input type="hidden" name="subject" value="WRN Placement Form" />
    <input type="hidden" name="good_url" value="" />
    I understand "recipients", "required", and "subject", but I would love to know what the other stuff does. In particular, "email=EmailAddr,realname=Name".
    It looks like this saying "treat 'email' as 'EmailAddr' and treat 'realname' as 'Name'." But what good is that doing? I see it corresponds to <input type="text" name="Name" /> and <input type="text" name="EmailAddr" /> later on in the form, but why not just change these to <input type="text" name="realname" /> and <input type="text" name="email" />, and then delete "email=EmailAddr,realname=Name"? Is there a reason these two particular fields are being given two names each?
    Last edited by Seijun; 03-Mar-2009 at 06:58 AM.

  2. #2
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: What are all these "input hidden" entries for?

    Hi,

    Please read the HOW TO guides for details:
    http://www.tectite.com/fmhowto/derived.php
    http://www.tectite.com/fmdoc/creating_forms.php

    The purpose of deriving email and realname from other fields is that they are special fields and there's currently a limitation in re-filling special fields when using Advanced Error Handling.

    By deriving from normal fields, this limitation is avoided.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Creating mail object using Mail::factory ("smtp", ....) and FormMail
    By stingray in forum FormMail Subscription Support
    Replies: 1
    Last Post: 13-Jul-2004, 10:27 PM
  2. No "Sender" of the email
    By lemonade in forum FormMail Subscription Support
    Replies: 1
    Last Post: 28-Jun-2004, 09:11 PM
  3. "Internal Server Error": What'd I do wrong?
    By sgodun in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-May-2004, 01:01 AM
  4. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 10:11 PM
  5. Email contains no "mesg"
    By xuric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Apr-2004, 09:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts