let the StringField have a default TextArea widget, only TextInput on small size constraint & no static vocabulary
functionset_tab(tabname,cookiename){// set appropriate cookieasyncRemoteExec('set_cookie',cookiename,tabname);// trigger show + tabname eventtrigger_load(tabname);}