Simple MailChimp
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Jeremy Worboys
write “enter your email” in the email field
General (Resolved)
lambdaka
|
Posted: 08 July 2014 06:21 AM |
|
|
|
Hi there ! the plugin work perfectly for me..
But I didn’t found how to add something in the email field..?
For example would like to put “enter your email here”.
is there a way to do that.? Maybe I missed something..
Thanks al lot !
S.
|
|
|
Jeremy Worboys
|
Posted: 08 July 2014 06:26 AM |
# 1
|
|
Developer
|
Hey,
That’s great to hear.
You can customise the fields that get created by using attr: parameters as described here.
For example, you could use
{merge:EMAIL attr:placeholder="Enter your email here..."}
to add a placeholder attribute to the input.
|
|
|
lambdaka
|
Posted: 08 July 2014 07:10 AM |
# 2
|
|
|
Woaw that’ a fast answer !
it’s Perfect..
Actually I didn’t know how to use the attr:
Cause it didn’t appear in the example of the doc.
Thanks a lot !
|
|
|
Jeremy Worboys
|
Posted: 08 July 2014 07:12 AM |
# 3
|
|
Developer
|
No worries. Glad to help.
|
|
|
lambdaka
|
Posted: 08 July 2014 08:23 AM |
# 4
|
|
|
Me again..
Ok for the attr:
But actually for the “placeholder”
is there a list of all available parameters..?
How could I know the name “placeholder.. I just looked into mail chimp didn’t found it..
Thanks
|
|
|
Jeremy Worboys
|
Posted: 08 July 2014 08:26 AM |
# 5
|
|
Developer
|
The attr: param will just pass any attribute* through to the <input> . So an valid HTML attribute is valid for the attr: parameter.
* You can not override the name=”“, id=”” and required=”” attributes as these are always populated from MailChimp.
|
|
|
lambdaka
|
Posted: 08 July 2014 08:44 AM |
# 6
|
|
|
Ah ok.. I just get it.. !
I have to remember : RTFM
ahah…
Thanks
|
|
|