This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Quick Question!!!


  1. drumaboy46
    Member

    Can php conditionals be used in the email template that is sent to the user?
    For example.

    <?
    $color = "blue";
    
    if($color == "blue") {
    
    	echo "the frog has power";
    } 
    
    else {
    
    	echo "Php Rocks!";
    }
    ?>

    I know html markup can be used in the email template and the form itself like

    <div>Cheese.jpg</div>

    Can

    <? echo "cheese"; ?>

    be used in the form also?

    Posted 14 years ago #
  2. yuniar

    Sorry, I'm afraid the email template doesn't support any PHP code.


    MachForm Founder

    Posted 14 years ago #
  3. drumaboy46
    Member

    thanks for the quick reply yuniar

    Posted 14 years ago #

RSS feed for this topic

Reply