Title: Using shortcode in Elementor form fields
Last modified: September 23, 2022

---

# Using shortcode in Elementor form fields

 *  [jkocken](https://wordpress.org/support/users/jkocken/)
 * (@jkocken)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/using-shortcode-in-elementor-form-fields/)
 * I use an elementor sign up form to get leads. I want to add a hidden field which
   the users don’t see, but with a default value to pass information of the current
   date.
 * I created a shortcode for the date [get-the-date] but adding the shortcode into
   the default value of the hidden field does not pass the information but only 
   returns the text “[get-the-date]”.
 * How can I get the hidden field to pass the date of today?
 * Seprately, I don’t seem to find any option to add the “current date” anywhere
   in Elementor (I have Pro), seems you need a plugin to do this… Might be useful
   widget to add to the default Elementor setup.

Viewing 1 replies (of 1 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [3 years, 8 months ago](https://wordpress.org/support/topic/using-shortcode-in-elementor-form-fields/#post-16037556)
 * As you are an Elementor Pro user the developer can’t have a conversation with
   customers here. That’s not permitted for anyone.
 * For pro or commercial product support please contact the developer directly on
   their site. This includes any pre-sales topics as well.
 * [https://my.elementor.com/](https://my.elementor.com/)
 * As the developer is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.

Viewing 1 replies (of 1 total)

The topic ‘Using shortcode in Elementor form fields’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [Elementor Forms](https://wordpress.org/support/topic-tag/elementor-forms/)

 * 1 reply
 * 1 participant
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/using-shortcode-in-elementor-form-fields/#post-16037556)
 * Status: not a support question