|
ImagePicker replaces a standard Edit control with a visual popup picker. Users click the field, choose an item from an image grid, and the selected value is saved through the normal PHPRunner form. Ideal for selecting teams, products, photos, icons, or any lookup value where images make selection easier.
Sample settings: $this->settings["lookup_table"] = "wc_teams"; $this->settings["key_field"] = "id"; $this->settings["label_field"] = "team_name"; $this->settings["image_field"] = "flag_url"; $this->settings["placeholder_image"] = "images/soccer_ball.png"; $this->settings["placeholder_text"] = "Pick a team"; $this->settings["popup_title"] = "Select a Team"; $this->settings["picker_group"] = "top8"; $this->settings["max_group_count"] = 8; $this->settings["status_element_id"] = "top8_status"; $this->settings["prevent_duplicates"] = 1; No reviews yet |
|