By pniraj007 on
In my current project, we are auto generating textfield using javascript. We want that textfield to be auto complete.
So we went to source of page with autocomplete field and found following things included:
We included above .js script and hidden variable in page generation of module. And symbolid text field was dynamically created with attribute class set as "form-text form-autocomplete".
We also wrote php function which will be called and made uri entry in menu.
But now when we try to open page it give error "form is null or not object" and my field doesnt become autocomplete.
Can someone please help me with this??
Thanks