Title: Adding a data attribute to EBD shortcode
Last modified: September 25, 2018

---

# Adding a data attribute to EBD shortcode

 *  [sgarcia513](https://wordpress.org/support/users/sgarcia513/)
 * (@sgarcia513)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/adding-a-data-attribute-to-ebd-shortcode/)
 * Our client very often uses the same contact form throughout their site however
   will often change the submit button text based on the context of the page the
   form is on. I’d like the possibility of passing a custom submit value to the 
   CF7 form to dynamically change the submit button. This would avoid having to 
   make a lot of CF7 forms just to change the submit value.
 * CF7 does allow shortcode_attr to their shortcode which EBD doesn’t pass through
   either. Something you may want to consider including as well.
 * Thanks for any info or insight
    – Steve

The topic ‘Adding a data attribute to EBD shortcode’ is closed to new replies.

 * ![](https://ps.w.org/email-before-download/assets/icon-256x256.jpg?rev=1813522)
 * [Email Before Download](https://wordpress.org/plugins/email-before-download/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-before-download/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-before-download/)
 * [Active Topics](https://wordpress.org/support/plugin/email-before-download/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-before-download/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-before-download/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sgarcia513](https://wordpress.org/support/users/sgarcia513/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/adding-a-data-attribute-to-ebd-shortcode/)
 * Status: not resolved