Combobox not showing on page

All Quick 'n Easy Web Builder support issues that are not covered in the forums below.
Post Reply
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Combobox not showing on page

Post by alex4orly »

Just stated a new page : https://squadron-125.org.il/page5.html

It has one Layoutgrid, 2 columns
In the right column, a Combobox

When I run the page, the Combobox does NOT show on the page

Any suggestions?

Thanks
User avatar
Pablo
Site Admin
Posts: 3915
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Combobox not showing on page

Post by Pablo »

Do you have a demo project so I can see all your settings?
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Combobox not showing on page

Post by alex4orly »

Pablo wrote: Tue Sep 21, 2021 6:03 am Do you have a demo project so I can see all your settings?
I wanted to create a new project to send you, but it seems to have fixed itself????
Is there a way in the combobox to load data dinamically from a csv instead of hard coding it?

Cheers
User avatar
Pablo
Site Admin
Posts: 3915
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Combobox not showing on page

Post by Pablo »

Yes this is possible but it requires custom code.
For example:
https://stackoverflow.com/questions/131 ... ct-element
alex4orly
Posts: 321
Joined: Thu Jul 23, 2020 9:34 am

Re: Combobox not showing on page

Post by alex4orly »

I found out in the meantime a better option, in my case I wanted to include in the combo box only data from certain columns, hope this can help someone else here
var myArray;
var coords;
var showList;
$.ajax({
url: './contacts125.csv',
success: function(data)
{
var splitData=data.split("\n");

for (var i = 0; i < splitData.length; i++)
{
let str = splitData;
myArray = str.split(",");
showList = myArray[0] + ',' + myArray[2];

$('#Combobox1').append("<option value=\"" + showList + "\">" + showList + "</option>");
}
}
});


Cheers
Post Reply