Results 1 to 1 of 1

Thread: Edit item text area 'This field is required'

  1. #1
    Thread Starter
    christopher's Avatar
    Join Date
    Jul 2009
    Posts
    23
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Edit item text area 'This field is required'

    While an empty text area in a new ad triggers a 'This field is required' message if left blank, however you can delete the description (or custom field using a text area) and it does not.

    I think this is a bug, line 1039 should be:
    Code:
    <textarea rows="4" cols="23" name="<?php echo $result->field_name; ?>" id="<?php if ($result->field_name == 'post_content') { echo 'description'; } else { echo $result->field_name; } ?>" class="<?php if($result->field_req) echo 'required' ?>"><?php if ($result->field_name == 'post_content') { echo $getad->post_content; } else { echo $post_meta_val; } ?></textarea>
    Note the inclusion of:
    Code:
    class="<?php if($result->field_req) echo 'required' ?>">

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)