Title: Form Maker Selection Option Value &amp; PHP Code
Last modified: December 2, 2020

---

# Form Maker Selection Option Value & PHP Code

 *  Resolved [imahir518](https://wordpress.org/support/users/imahir518/)
 * (@imahir518)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/form-maker-selection-option-value-php-code/)
 * Hello everyone;
    Is there any way can call or run a PHP code or xyz PHP snippet
   code inside the drop down menu option/value to return a date value in Form Maker?
   I tried these two methods and none of them worked. I put these codes inside the
   Value field of the radio button selection: 1.php code: <?php echo date(); ?> 
   2. by calling the following XYZ PHP Snippet code: [xyz-ips snippet=”singleDate”]
 * also i tried: echo do_shortcode(“[xyz-ips snippet=’singleDate’]”);
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fform-maker-selection-option-value-php-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Zhanna Khachatryan](https://wordpress.org/support/users/zhannak/)
 * (@zhannak)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/form-maker-selection-option-value-php-code/#post-13740303)
 * Hello [@imahir518](https://wordpress.org/support/users/imahir518/),
 * Thaks for your inquiry.
 * Dear friend, unfortunately, it is not possible to write any PHP code in the form
   maker select option fields.

Viewing 1 replies (of 1 total)

The topic ‘Form Maker Selection Option Value & PHP Code’ is closed to new replies.

 * ![](https://ps.w.org/form-maker/assets/icon-256x256.png?rev=2068681)
 * [Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder](https://wordpress.org/plugins/form-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/form-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/form-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/form-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/form-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/form-maker/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Zhanna Khachatryan](https://wordpress.org/support/users/zhannak/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/form-maker-selection-option-value-php-code/#post-13740303)
 * Status: resolved