• Resolved bevyme

    (@bevyme)


    Hi Greg Winiarski,

    Im not able to make this code required.
    Can you help please?

    foreach($form["field"] as $k => $field) {
            if($field["name"] == "adverts_location") {
                $field["type"] = "adverts_field_select";
                $field["max_choices"] = 1;
                $field["empty_option"] = 1;
                $field["empty_option_text"] = "Select State...";
    //keeps going...

    Cheers.

    https://ww.wp.xz.cn/plugins/wpadverts/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Make code required’ is closed to new replies.