support for textarea?
-
Does the plugin support textarea as a signup form field type?
Thanks!
-
Hi Pyramis,
Yep, you can include any field you like. Textareas are just not in the field wizard yet, will add this asap!
Actually I seem to run into a bug when trying to use textarea. Strangely, it worked the first time, but now whenever I save changes on the settings screen, the plugin parses it wrong and produces invalid html. I’m pretty sure my input is valid.
Here’s the code I input:
<p> <label for="f_name">Your Name: </label> <input type="text" name="NAME" id="f_name" placeholder="First and Last" required="required"> </p> <p> <label for="mc4wp_email">Email address: </label> <input type="email" id="mc4wp_email" name="EMAIL" required="required" placeholder="[email protected]" /> </p> <p> <label for="f_location">Location:</label> <input type="text" name="LOCATION" id="f_location" placeholder="City, State/Province, Country" required="required"> </p> <p> <label for="f_comment">Comments: </label> <textarea name="COMMENT" id="f_comment" placeholder="What kind of gathering do you have in mind?"></textarea> </p> <input type="hidden" name="TYPE" value="Join the Party"> <p> <input type="submit" value="Submit"> </p>And here’s the code that comes back after I hit Save:
<p> <label for="f_name">Your Name: </label> <input type="text" name="NAME" id="f_name" placeholder="First and Last" required="required"> </p> <p> <label for="mc4wp_email">Email address: </label> <input type="email" id="mc4wp_email" name="EMAIL" required="required" placeholder="[email protected]" /> </p> <p> <label for="f_location">Location:</label> <input type="text" name="LOCATION" id="f_location" placeholder="City, State/Province, Country" required="required"> </p> <p> <label for="f_comment">Comments: </label> <textarea name="COMMENT" id="f_comment" placeholder="What kind of gathering do you have in mind?">You can see that the end of the code gets truncated after the <textarea> tag. And in fact, an actual working “Submit” button appears on the settings screen, so there’s clearly some parsing problem happening.
I have an idea what’s going wrong, you can expect an update that fixes this later today!
Thanks! The textarea tag is now working on my form. However, there’s still an issue with how it get’s displayed on the Settings screen. After I add the textarea, as described in my earlier post, it changes to this.
Hi pyramis,
Did you update to 1.1.4? I can only replicate your issue when I downgrade to 1.1.3.
The topic ‘support for textarea?’ is closed to new replies.