Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We dont want to keep subscribe facility of comment and also don't want email field to be mandatory. So, how can I change that?
I would strongly suggest you make the email field mandatory... otherwise you'll get some massive amounts of spam.
But if you need to do this, you'll have to modify the source for that usercontrol.
Or a very hacky way around that is to hide do something in javascript to insert an email address on submit click.
yes.... we have decided to keep email field... but don't want subscribe to comment facility so for that I have to change in source code. But can you guide where to do that?
The easiest thing to do if you don't want to recompile the source is to just hide the checkbox using css, or even remove it using js.
Otherwise you'll have to modify the codebehind of the contact.ascx... the business logic layer is still expecting true or false for subscription.
Ok. let me try ...
yes... I did .. hide the checkbox using css
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
ublogsy subscribe/contact form
We dont want to keep subscribe facility of comment and also don't want email field to be mandatory. So, how can I change that?
I would strongly suggest you make the email field mandatory... otherwise you'll get some massive amounts of spam.
But if you need to do this, you'll have to modify the source for that usercontrol.
Or a very hacky way around that is to hide do something in javascript to insert an email address on submit click.
yes.... we have decided to keep email field... but don't want subscribe to comment facility so for that I have to change in source code. But can you guide where to do that?
The easiest thing to do if you don't want to recompile the source is to just hide the checkbox using css, or even remove it using js.
Otherwise you'll have to modify the codebehind of the contact.ascx... the business logic layer is still expecting true or false for subscription.
Ok. let me try ...
yes... I did .. hide the checkbox using css
is working on a reply...