Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Uthay on Jun 16, 2009 07:34
open dhtmlx forum
I cant get to ignore & symbol in my Combo xml

Hi,

i have this field, which will lists company names, when i select a company it will auto fill the address. The problem i encounter is that i am able to select a company name without '&' seems to work but a company with '&' does not work. e.g 'test & tester' would not auto fill the depended values. I have used rs.getString("companyname").replace("&", "&").replaceAll("'", "\\\\'"); to ignore the '&' symbol but it is no use. I then used this rs.getString("companyname").replace("&", " ").replaceAll("'", "\\\\'");, with spaces and it works perfectly but only one problem which is that i can't see the '&' between the company name as i have asked to add space instead of '&'. this is the out come for e.f 'test tester'.

how can i use '&' and auto fill the depended records

Thanks

Uthay
Answer posted by Alex (support) on Jun 16, 2009 10:21

Hello,

please, try to use the attached dhtmlxcombo.js (the latest combo version). Possibly it'll fix the issue

Attachments (1)
Answer posted on Jun 17, 2009 02:03
Thanks Alex,

That dhtmlxcombo.js fixed the problem.

Thanks

Uthay