Jump to content

Recommended Posts

Posted

Hi

I can't find the field to input the text in Formmail.

I've read the Matt's readme and faqs.

Found the subject, from, e-mail field, but not the main text area to write the message.

 

Please someone help me :lol:

Guest schussat
Posted

Hi Chevy-

 

I think formmail takes any non-reserved variable and includes its values in the email it sends. So, if you define something like

 

><input type=text name="occupation" length=30>

 

Then formmail will take that variable ("occupation") and print it in the body of the message it generates. If I answer "impoverished grad student" to the form, you'll see something like

 

>occupation: impoverished grad student

 

So, you're free to design your form with as many textareas or other variables that you want -- formmail is made to not require any modifications no matter what variables you want to pass on to it. So if you just want something like an email comment form, you might include something like

 

><textarea name="usercomment" rows="8" cols="45"></textarea>

 

The variable "usercomment" will automatically be passed on to formmail, and bingo -- you're done!

 

-Alan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...