Hello, is it possible to add a CM subscribe form to a WordPress sidebar? I saw the AJAX plugin but I have a hidden field (the source of signing up) and don't know how that can be implemented using the plugin.
Is there another way to add the sign up form to a sidebar - can I just copy/paste the CSS version or the Form version right into the widget?
Thanks for any suggestions,
Hi Julia, my advice would be either to copy/paste our provided AJAX subscribe form code into the HTML sidebar widget in WordPress and take it from there, or edit the code in 'Themes' directly. Both require a little confidence with coding, but these are most probably the best options at present. Let me know if you have any questions about this :)
Thank you for the reply.
Hi Julia, we're very sorry about this - I believe this was relevant to the previous version of the AJAX form, but should have been omitted during the latest update. I've now removed these details - thanks for pointing this out :)
Thank you! I have it now. Is there a way to make the name fields *required? I wasn't sure if the AJAX script allowed for this.
You will have to add your own validation code to make fields 'required' - by default, only email address is mandatory. Here's a primer on how to do this - hope this helps!
Any help would be appreciated.
Hi Julia, it's probably best that you either contact our team or post your code in our API Developer forum. While there is server-side validation at work with our First Name and Last Name fields, it's hard to say if it's interfering with the code you have in place. Thanks for persevering with this!