Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BestFitSolutions

    Where is the error in this code.

    I have done that and found that it always prints as "ON" regardless of whether the checkbox is checked or not checked. I'm tring to find a way to print it as " " if it is not checked and "On" if it is checked. When I used: if ($contents{'bcardadvertise25'}='ON') { print MAIL...
  2. BestFitSolutions

    Where is the error in this code.

    I am not try to determine if there is a text string. It is either a checked or un-checked box. If the box is checked, then it should show the field. If it is un-checked then it should dispaly nothing. I have tried both of the expresions above and neither dispalys any out put what so ever...
  3. BestFitSolutions

    Where is the error in this code.

    I have a form that post all data correctly except the "checked" boxes. What I am looking for is: If the box is checked, then post only checked box, if it is not checked then post nothing or the fact that is is empty. Here is the code: if ($contents{'bcardadvertise25'} != "") { print MAIL...

Part and Inventory Search

Back
Top