Title: Add input value
Last modified: August 21, 2016

---

# Add input value

 *  Resolved [karinanana](https://wordpress.org/support/users/karinanana/)
 * (@karinanana)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/add-input-value/)
 * Hi there!
    How to add value like “put your email here” inside input[type=submit]?
 * Thank you in advance!
 * [http://wordpress.org/plugins/simple-subscribe/](http://wordpress.org/plugins/simple-subscribe/)

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

 *  Thread Starter [karinanana](https://wordpress.org/support/users/karinanana/)
 * (@karinanana)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/add-input-value/#post-4488529)
 * Ok
    i used ->setDefaultValue(‘Your email address here’) and it works fine… Another
   Question is can we float the subscribe button to the right of the input tag? 
   Right now they are inside a <tr> tags so not sure how to do it… thanks!
 *  [latorante](https://wordpress.org/support/users/latorante/)
 * (@latorante)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/add-input-value/#post-4488543)
 * Well hello mate!
 * I like people that can manage changes in code without my help! I appriciate this.
   Yes, I presume you’re using shortcode – shortcode prints the form in table. If
   you look at \SimpleSubscribe\Forms on line 48… there’s wrapper option for when
   the form is displayed in widget – you can uses that everywhere if you just put
   the wrapper control out of the if condition. And then you can float everything
   everywhere 🙂
 * Hope you like the plugin!
 * Regards,
    Mart
 *  Thread Starter [karinanana](https://wordpress.org/support/users/karinanana/)
 * (@karinanana)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/add-input-value/#post-4488545)
 * Hi Mart!
    It works! Although initially when i deleted all that wrapper control
   out of if condition from Forms.php ,the subscribe form will reverted back to 
   Table format… So, i put = NULL instead and it works!
 * THanks!Great work on the plugin!=)
 *  [latorante](https://wordpress.org/support/users/latorante/)
 * (@latorante)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/add-input-value/#post-4488546)
 * Great! And no worries mate, glad you like it’
 *  [SPViradiya](https://wordpress.org/support/users/spviradiya/)
 * (@spviradiya)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/add-input-value/#post-4488564)
 * Hi karinanana,
 * I am not able to make the submit button and the textbox of email in same line.
   As you wrote here you had did it. Can I know how you did it and what had you 
   changed in the Forms.php file?
 * Thanks in advance.
 * Regards,
    SPViradiya.

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

The topic ‘Add input value’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-subscribe_99d436.svg)
 * [Simple Subscribe](https://wordpress.org/plugins/simple-subscribe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-subscribe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-subscribe/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-subscribe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-subscribe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-subscribe/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [SPViradiya](https://wordpress.org/support/users/spviradiya/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/add-input-value/#post-4488564)
 * Status: resolved