..F....... [ZBXNEXT-1821] fixed possibility to add empty spaced web scenario custom web agent in frontend; re-factored code around $fields array for check_fields() function