+ Reply to Thread
Results 1 to 3 of 3

Thread: about realname

  1. #1
    Join Date
    Mar 2005
    Posts
    35

    Default about realname

    In my form, I set the required hidden fields as such:
    <input name="required" value="firstname:First Name,lastname:Last Name,email:Email" type="hidden" />

    There is no 'realname' in there but the submission result always show:

    example:
    email: abc@ia.com
    realname:
    firstname: test
    lastname: me
    color: red

    requirements: Test comment.

    I noticed this since the version 6+ but never bother to fix it, until now, a client wanted it be removed. My suggestion is to have him change "firstname:First Name" to "realname:First Name".

    I don't know what the result is as he hasn't told me and I can't test it on my server as my bloody web host has another hardware failure in 3 days

    I had a look on V7.10, on line 4202
    $SPECIAL_FIELDS = array(
    "realname", // the real name of the person who filled in the form

    can I customise it to
    "firstname",
    "lastname"

    or turn it off?

    Thanks!

    sutra

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: about realname

    formmail uses a number of special fields for particular purposes...

    email is one of them, realname is another. realname is shown as the sender of the email (which is mostly what you want).

    why not derive it from your firstname + lastname. see the how to guide on the main www.tectite.com site.

    you can also tell formmail to exlcude the realname field with the mail_options value called "Exclude":

    HTML Code:
    <input type="hidden" name="mail_options" value="Exclude=realname" />

  3. #3
    Join Date
    Mar 2005
    Posts
    35

    Default Re: about realname

    Thanks for the tips

    sutra

+ 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. Get rid of realname?
    By alpine82 in forum Community Support
    Replies: 10
    Last Post: 06-Nov-2008, 03:43 AM
  2. Don't need email or realname
    By kenelder in forum Community Support
    Replies: 1
    Last Post: 23-Jan-2007, 05:21 PM
  3. Fields Not Needed ex:realname
    By ScottR in forum Community Support
    Replies: 5
    Last Post: 03-Mar-2006, 10:40 PM
  4. Realname plus "Submit" image map
    By coldfused in forum FormMail Subscription Support
    Replies: 14
    Last Post: 28-Jan-2006, 07:59 PM
  5. form field realname ?
    By milez in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-Nov-2005, 04:59 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