Hi,
Am developing a plugin, In that a form will appear as a widget in the website. When user fills and give submit that form should disappear.
What I planned is after form submit the cookie will set. If cookie set then the form should not display else it should display.
I tried by setting cookies, but not able to success. In wordpress Cookies can set only at
add_action( 'init',name);
So while page load the cookie is set. So not able to succeed.
Kindly Suggest me.