⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Proper return for Callback_field of upload fields



Katherine

Katherine
  • profile picture
  • Member

Posted 17 November 2013 - 11:47 AM

How to properly return the fields of an upload field that had been set using the set_field_upload function. In the case of input fields, i could simply return them from the callback this way.

function price_callback($value)
        {
            return '<input type="text"  value="'.$value.'" name="price" style="width:462px"> 
                <br> <b>Example:</b>
                <br> <i>20,657, 1.45M</i>';
        }

I need to put a note beside the upload button