Title: Adding Theme-Specific Shortcode to HTML Before/After Form Field
Last modified: August 21, 2016

---

# Adding Theme-Specific Shortcode to HTML Before/After Form Field

 *  Resolved [Patrick](https://wordpress.org/support/users/pinglis/)
 * (@pinglis)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/)
 * Just wondering if anyone knows of a way to add a theme-specific shortcode to 
   the HTML before and after a field.
 * I need to be able to use a content toggle to show/hide specific parts of the 
   form – and toggle as needed by the user. The theme I’m using does this via shortcodes
   but placing them in the HTML before/after boxes doesn’t work.
 * Any help or advice is greatly appreciated.
 * [https://wordpress.org/plugins/si-contact-form/](https://wordpress.org/plugins/si-contact-form/)

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

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052488)
 * Hi Patrick, you will have to submit a [support ticket](http://www.fastsecurecontactform.com/support)
   to [@mike](https://wordpress.org/support/users/mike/) Challis.
 * Kind regards
 *  Thread Starter [Patrick](https://wordpress.org/support/users/pinglis/)
 * (@pinglis)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052548)
 * Will do…thanks.
 *  Thread Starter [Patrick](https://wordpress.org/support/users/pinglis/)
 * (@pinglis)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052739)
 * I added a support ticket but have not heard back. No one here has any ideas?
 * I guess the real question is, do the HTML before and after fields only accept
   HTML or would PHP work?
 * And the larger question is…how would I add a content toggle around selected fields?
 * Thanks in advance.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052748)
 * Hi Patrick the HTML only accepts HTML. As far as I know you cannot use PHP code.
 * In regards to your support ticket, I am sure [@mike](https://wordpress.org/support/users/mike/)
   Challis will get back to you soon.
 * In regards to you comment…
 * > how would I add a content toggle around selected fields?
 * What exactly do you mean? Can you give me an example?
 * Thank you
 *  Thread Starter [Patrick](https://wordpress.org/support/users/pinglis/)
 * (@pinglis)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052749)
 * Thanks…I’ve no doubt Mike will respond shortly.
 * By content toggle, I mean the theme I’m using allows use of a toggle shortcode
   which can pop open and closed certain content. The forms I’m building are rather
   large and intimidating at first glance…but the user needn’t fill in all fields–
   just what is applicable to them. So I’d like to have “sections” closed such that
   the user can pop open the areas that are applicable and fill in the fields.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052751)
 * Hi Patrick, unfortunately for you with the current plugin version it is not possible
   to enable such feature. You will have to wait until [@mike](https://wordpress.org/support/users/mike/)
   Challis replies to you.
 * Thank you
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052850)
 * Hi Patrick, has your issue being resolved?
 *  Thread Starter [Patrick](https://wordpress.org/support/users/pinglis/)
 * (@pinglis)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052851)
 * Negative.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052852)
 * Hi Patrick, because the option you are trying to set up on your form is not currently
   available it is safe to mark this support thread as resolved.
 * Perhaps in a future release [@mike](https://wordpress.org/support/users/mike/)
   Challis might include that option.
 * Kind regards
 *  Thread Starter [Patrick](https://wordpress.org/support/users/pinglis/)
 * (@pinglis)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052853)
 * Agreed. I would add it to the “wish list” of features but it does seem to be 
   outside the scope of what the plugin is capable of doing. I never did hear back
   from Mike though, which is somewhat disappointing.

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

The topic ‘Adding Theme-Specific Shortcode to HTML Before/After Form Field’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/si-contact-form_dde2be.svg)
 * [Fast Secure Contact Form](https://wordpress.org/plugins/si-contact-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/si-contact-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/si-contact-form/)
 * [Active Topics](https://wordpress.org/support/plugin/si-contact-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/si-contact-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/si-contact-form/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Patrick](https://wordpress.org/support/users/pinglis/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/adding-theme-specific-shortcode-to-html-beforeafter-form-field/#post-5052853)
 * Status: resolved