Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Note “type” and “mode” params, other are as in text field.

    $form["field"][] = array(
        "name" => "my_custom_textarea",
        "type" => "adverts_field_textarea",
        "mode" => "plain-text", //other values: tinymce-mini, tinymce-full
        "order" => 25,
        "label" => "Custom Textarea",
        "is_required" => true,
        "validator" => array(
            array( "name" => "is_required" ),
        )
    );

Viewing 1 replies (of 1 total)

The topic ‘Displaying Custom Field textarea’ is closed to new replies.