Issues embedding a newsletter signup form

Hi - I’m having issues with a form from a newsletter service called Revue. I’ve got a site using the Pro theme. They’ve got a block of code you can drop into your site to add a form, and I’m adding that to a Content Area element on one of my Pro pages. When I do that, it looks correct in the Pro content editor:

When I load the actual page after saving while logged into Wordpress, the form also renders correctly. Once I access the page from any browser that’s not logged into Wordpress, the input fields no longer show up. I end up with this:

I assume there’s something tied to my Wordpress account or user that makes it work when I’m logged in, but I have no idea what it is. Any ideas? This is the actual page: http://gamejobhunter.com/local-video-game-companies-miami/

Hello There,

Thanks for posting in!

In the output display, the input fields were not shown. I’ve checked the page source and it seems that the input fields were not rendered. Could you please provide the code of the form so that we can test the code and content area element in our local testing servers? Meanwhile, please make use of the raw content element and see how it goes.

Regards.

Hey @RueNel! I will try the raw content element, I have not used that one.

Here’s the code:

<div id="revue-embed">
  <form action="https://www.getrevue.co/profile/gamejobhunter/add_subscriber" method="post" id="revue-form" name="revue-form"  target="_blank">
  <div class="revue-form-group">
    <label for="member_email">Email address</label>
    <input class="revue-form-field" placeholder="Your email address..." type="email" name="member[email]" id="member_email">
  </div>
  <div class="revue-form-group">
    <label for="member_first_name">First name <span class="optional">(Optional)</span></label>
    <input class="revue-form-field" placeholder="First name... (Optional)" type="text" name="member[first_name]" id="member_first_name">
  </div>
  <div class="revue-form-group">
    <label for="member_last_name">Last name <span class="optional">(Optional)</span></label>
    <input class="revue-form-field" placeholder="Last name... (Optional)" type="text" name="member[last_name]" id="member_last_name">
  </div>
  <div class="revue-form-actions">
    <input type="submit" value="Subscribe" name="member[subscribe]" id="member_submit">
  </div>
  </form>
</div>

The Raw Content Element did work, so I’m using that for now.

Hi There,

Glad it works for you. Yes, the raw content element would be the right choice to add your HTML/Javascript code to a page.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.