Title: adding parameters to shortcode
Last modified: February 5, 2020

---

# adding parameters to shortcode

 *  Resolved [viagozo](https://wordpress.org/support/users/dudematters/)
 * (@dudematters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/adding-parameters-to-shortcode/)
 * Is it possible to add a parameter to the shortcode that will fill in a certain
   form field? Let’s say I have a product selection (radio button) field on a form,
   and I want to create a button that will populate the product when the form is
   called.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/adding-parameters-to-shortcode/#post-12402319)
 * Hi [@dudematters](https://wordpress.org/support/users/dudematters/),
 * When you edit form elements you can switch to Visibility tab and from there you
   can choose conditions based on which that field will be displayed.
 * However, I’m not sure that I understand your request completely so I don’t know
   if that will do the trick for you.
    Could you elaborate a bit more which element
   should be populated and with what exactly? Do you have some example site where
   such form is used so we could check it out?
 * Cheers,
    Predrag
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/adding-parameters-to-shortcode/#post-12562561)
 * Hello [@dudematters](https://wordpress.org/support/users/dudematters/)
 * I hope you are doing well!
 * We haven’t heard back from you for a while now so we’ve marked this ticket as
   resolved. If you do have any followup questions or require further assistance
   feel free to reopen it and let us know here.
 * Kind regards,
    Nastia

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘adding parameters to shortcode’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/adding-parameters-to-shortcode/#post-12562561)
 * Status: resolved