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!
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
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!=)
Great! And no worries mate, glad you like it’
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.