save text input to selectmenu
thanks Katya,
I have changed the code to this,
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
thanks Katya,
I have changed the code to this,
I checked the code that Marina advised - it works.
This is what I used, no result
code
var newOption = '<option value="' + Tiggzi("coemailtextinput_email").val() + '">' + Tiggzi("conametextinput_name").val() + '</option>';
Tiggzi("taxicoselectmenu").append(newOption).selectmenu('refresh');
/code
Please ensure you are using correct component names
result is "undefined"
Hi Marina,
I have checked to component names, all are correct, when I click to save a selection is saved but the list reads undefined
Could you share your project with support@tiggzi.com?
Thanks Marina, shared
You have incorrect component names. It should be:
codevar newOption = '<option value="' + Tiggzi("coemailtextinput").val() + '">' + Tiggzi("conametextinput").val() + '</option>';
Tiggzi("taxicoselectmenu").append(newOption).selectmenu('refresh');/code
Instead of coemailtextinput_email should be coemailtextinput and
instead of conametextinput_name should be conametextinput
Thank you Marina,
this works, however I dont appear to have a variable to pull the list created from local storage