WordPress.org

Forums

[Plugin: Contact Form 7] PHP in body (1 post)

  1. rickitambo
    Member
    Posted 5 years ago #

    In a radion button, I wanted to display the text "tomorrow" and the next mondays of a week as a date. In normal php I would simply use the following for the date:

    <?php echo date("d.m.Y",strtotime("next Monday")); ?>

    So i tried to integrate that into contact form 7 like this:

    [radio datechooser "tomorrow" "<?php echo date("d.m.Y",strtotime("next Monday")); ?>"]

    which (obviously) doesnt work. Does anybody have an idea, how i can resolve this problem?
    THANKS!

Topic Closed

This topic has been closed to new replies.

About this Topic