WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Custom Field Template] Textarea value keeps disappearing (3 posts)

  1. flint_and_tinder
    Member
    Posted 3 years ago #

    Hi,

    I've set up a custom field template for a site I'm working on. The custom field template itself looks like this:

    [Page Image 1]
    type = text
    size = 35
    label = Page Image 1 URL (minus .jpg):
    
    [Video]
    type= text
    size = 35
    label = Video Embed Code:
    
    [Page Contact ]
    type = textarea
    size = 35
    label = Specific Page Contact Info:

    The template is then linked to a CSS file with this styling:

    #cft input {
    width:600px;
    }
    
    #cft textarea {
    width:600px;
    height:200px;
    }

    Everything works ok, except for that fact that when I publish a page, although the value displays on the page correctly, any information that I place within the Page Contact Textarea completely disappears if you re-edit the page.

    Can anyone explain why this is happening please?

    I'm running version CFT 1.8.2 on WP 3.0.5

    Adam

  2. flint_and_tinder
    Member
    Posted 3 years ago #

    Ignore that. I have fixed it by removing the extra letter space within the [Page Contact ] line.

    Correct code is [Page Contact].

  3. bruzed
    Member
    Posted 3 years ago #

    hi, i've been facing this issue as well. when i click the update button the text in the textarea disappears. sometimes it drops a file upload field - when doing multiple fields. any ideas how to fix this?

Topic Closed

This topic has been closed to new replies.

About this Topic