I have a contact form which is generated by yiic… i want a contact form to send email to the email address which is saved in table instead of specified in param…
in table having following fields id name emailid description prise image
model is Adds
now i want a contact form by which all user can contact to the particular add for this i want to fetch the emailid from add table…
i managed to create contact page for add model which is same as yiic generated contact page…
you can use autocomplete for that,make autocomplete with query,which find email from your criteria,so when user will type a character,related email will be in dropdown,and he can select email.In dropdown you can show email with add name in bracket.