Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #202714

    Hi,

    I’m trying to insert an HTML form into Avia’s textblock widget. I paste my Form code in and when I update my page it disappears completely. I did some troubleshooting and found that the issue is with this line…

    <label for=”description”>Message</label><textarea name=”description” rows=”4″ cols=”50″></textarea>

    I tried copy and pasting code from this thread verify if it was an html error or not, https://kriesi.at/support/topic/contact-form-in-template/
    I tried the straight HTML and shortcodes to no avail.

    It appears to recognize all HTML except the textarea tag.

    Thoughts?

    #202767

    Hi universusmedia!

    Could you paste the whole form code so i can try to do the same on my local installation?

    Cheers!
    Josue

    #202918

    I pasted it below– I replaced a couple URLs and values with # for privacy.

    Also, I’m trying to insert the code inside an avia text block element, inside a 1/2 column.

    <form action=”#” method=”POST”>
    <input type=hidden name=”oid” value=”00D50000000JNNK”>
    <input type=hidden name=”retURL” value=”#”>
    <label for=”first_name”>First Name</label><input id=”first_name” maxlength=”40″ name=”first_name” size=”20″ type=”text” /><br>
    <label for=”last_name”>Last Name</label><input id=”last_name” maxlength=”80″ name=”last_name” size=”20″ type=”text” /><br>
    <label for=”email”>Email</label><input id=”email” maxlength=”80″ name=”email” size=”20″ type=”text” /><br>
    <label for=”phone”>Phone</label><input id=”phone” maxlength=”40″ name=”phone” size=”20″ type=”text” /><br>
    <label for=”description”>Description</label><textarea name=”description”></textarea><br>
    <input type=”submit” name=”submit”>
    </form>

    #202938

    I think it may be due to a quote issue, try with this code:

    <form action="#" method="POST">
    <input type=hidden name="oid" value="00D50000000JNNK">
    <input type=hidden name="retURL" value="#">
    <label for="first_name">First Name</label><input id="first_name" maxlength="40″ name="first_name" size="20″ type="text" /><br>
    <label for="last_name">Last Name</label><input id="last_name" maxlength="80″ name="last_name" size="20″ type="text" /><br>
    <label for="email">Email</label><input id="email" maxlength="80″ name="email" size="20″ type="text" /><br>
    <label for="phone">Phone</label><input id="phone" maxlength="40″ name="phone" size="20″ type="text" /><br>
    <label for="description">Description</label><textarea name="description"></textarea><br>
    <input type="submit" name="submit">
    </form>

    Tested locally and it worked:

    Best regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Form Textarea tag glitch’ is closed to new replies.