Hi, I have text_field_with_auto_complete , The problem i faced here is when type the text like "firstname&lastname".When i get value of text field in controller i only get the firstname. i couldn't get text value after '&' symbol. i guess the & symbol is the problem here. but i need to use the & symbol in my text. How can i overcome this. can any one please tell me.how can i over come this issue.
Hi, I have text_field_with_auto_complete , The problem i faced here is when type the text like "firstname&lastname".When i get value of text field in controller i only get the firstname. i couldn't get text value after '&' symbol. i guess the & symbol is the problem here.
but i need to use the & symbol in my text. How can i overcome this. can any one please tell me.how can i over come this issue
Probably the same problem that observe_field used to have (see the
last section here: :with or :without you: link_to_remote's mysterious parameter - Space Vatican)
Fred
Frederick Cheung wrote:
Frederick Cheung wrote:
Hi, I have text_field_with_auto_complete , The problem i faced here is when type the text like "firstname&lastname".When i get value of
text field in controller i only get the firstname. i couldn't get text value after '&' symbol. i guess the & symbol is the problem here. but i need to use the & symbol in my text. How can i overcome this. can
any one please tell me.how can i over come this issueProbably the same problem that observe_field used to have (see the last section here: :with or :without you: link_to_remote's mysterious parameter - Space Vatican)
Fred
Hi fred, I follow the suggestion the site you given. here is the coding in my view.how can i change the my coding according to the site suggestion.
The important bit is the bit about encodeURIComponent
Fred