Frequently Asked Questions: script questions: nl phpmail
Below are all the frequently asked questions added to the site. Please read through them before asking a question in the forums!
Latest
-
1
“This page cannot be accessed directly”?
Whenever I try to submit my form, I get the following error: Error: This page cannot be accessed directly. It doesn’t go away no matter what I do!
You MUST name the submit button from your form “submit”. Instructions on how to do this can be found in the readme file, but basically this is the general idea:
Your form will have a submit button for it to work properly. The code will look something like this:
<input type="submit" value="Send form" />
For the form to work correctly, you need to modify that code so that it looks like this:
<input type="submit" value="Send form" name="submit" />
See the name="submit" part? That part MUST be included for the form to work properly.
June 4, 2006 |
By Amelie |
Filed under FAQ, NL-PHPMail, Scripts
-
2
Can I remove the credit line that says “Powered by [name of script here]” and/or put it on a separate page?
No. The conditions of you using our scripts are that the credit line is not removed in any way, shape or form. You may not remove the credit line, or move it to another place. If you would like to do this, you will need written permission from the script author first, and they may charge you for this. Our staff put many hours into creating, testing and securing the scripts they write. They make no money from these scripts and simply want recognition for their work.
All scripts available at CodeGrrl.com are LINKWARE. This means that you MUST provide a link back to CodeGrrl.com, and if there is a credit line embedded into the script, you are NOT to remove it, as this violates our terms of use.
May 2, 2006 |
By Amelie |
Filed under CodeGrrl, FA-PHPHosting: Customize, FAQ, Flinx: Customize, NL-PHPMail, PHPCalendar, PHPCurrently, PHPFanBase: Customize, PHPQuotes, Scripts
-
3
Help! I don’t know how to set up an HTML email form!
Setting up a form is quite easy. You can find a tutorial about this here.
May 21, 2004 |
By Louise |
Filed under FAQ, NL-PHPMail, Scripts
-
4
How can a have one of those check lists where the person can select one answer only (radio buttons)?
Radio buttons allow the user to choose only one of a number of options. When you choose one option, any previously selected option is unselected. Radio buttons are grouped together by assigning them all the same NAME (but different VALUES).
<p>Which one of these old TV Shows do you miss the most? <br /><input type="radio" name="oldtv" value="madaboutyou" />Mad About You <br /><input type="radio" name="oldtv" value="fullhouse" />Full House <br /><input type="radio" name="oldtv" value="stepbystep" />Step by Step <br /><input type="radio" name="oldtv" value="partyof5" />Party of Five <br /><input type="radio" name="oldtv" value="dawsonscreek" />Dawson's Creek <br /><input type="radio" name="oldtv" value="buffy" />Buffy, the Vampire Slayer</p>
Like checkboxes, you can define a radio button to be checked by default, but unlike checkboxes you should only have one radio button in a group initially checked.
<p>Which one of these old TV Shows do you miss the most? <br /><input type="radio" name="oldtv" value="madaboutyou" checked="checked" />Mad About You <br /><input type="radio" name="oldtv" value="fullhouse" />Full House <br /><input type="radio" name="oldtv" value="stepbystep" />Step by Step <br /><input type="radio" name="oldtv" value="partyof5" />Party of Five <br /><input type="radio" name="oldtv" value="dawsonscreek" />Dawson's Creek <br /><input type="radio" name="oldtv" value="buffy" />Buffy, the Vampire Slayer</p>
Now you have Mad About You checked and set as default.
Remember: all the radio buttons in a group must have identical names (like in the example above - the name is set to "oldtv" for each option).
May 21, 2004 |
By Louise |
Filed under FAQ, NL-PHPMail, PHP, Scripts
-
5
How can I make a question with checkboxes to choose the answers?
Checkboxes are used to allow the user to select more than one item from a list. Here’s an example:
<p>Which of the following TV shows do you watch? (choose any combination) <br /><input type="checkbox" name="friends" value="Y" />Friends <br /><input type="checkbox" name="er" value="Y" />ER <br /><input type="checkbox" name="willandgrace" value="Y" />Will&Grace <br /><input type="checkbox" name="gilmoregirls" value="Y" />Gilmore Girls <br /><input type="checkbox" name="that70sshow" value="Y" />That 70's Show</p>
Now, the inital value of a checkbox can be defined to be checked or not. If you want any box to be already checked by default, you have to add ‘checked=”checked” in their form definition, like so:
<p>Which of the following TV shows do you watch? (choose any combination) <br /><input type="checkbox" name="friends" value="Y" checked="checked" />Friends <br /><input type="checkbox" name="er" value="Y" />ER <br /><input type="checkbox" name="willandgrace" value="Y" />Will&Grace <br /><input type="checkbox" name="gilmoregirls" value="Y" checked="checked" />Gilmore Girls <br /><input type="checkbox" name="that70sshow" value="Y" />That 70's Show</p>
Now you have both Friends and Gilmore Girls checked as default.
May 21, 2004 |
By Louise |
Filed under FAQ, NL-PHPMail, Scripts