Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3744

strip_tags on select options

$
0
0

I have a select in the editor where the options in the select contain HTML tags. I want to remove those tags for the select and retain them for the records in the database. Is there a way to do this in the editor, such as using PHP strip_tags?

{
    label: "Program Outcomes:",
    name: "program_outcome[].program_outcome_pk",
    type: "select",
    placeholder: 'No selection',
    placeholderDisabled: false,
    placeholderValue: 0,
    multiple: true
                }

Viewing all articles
Browse latest Browse all 3744

Trending Articles