I'm using Runway.Blog as my blog engine. I'd like to make the email field optional (it is mandatory by default). I found the following code snippet in AjaxCommentForm.ascx but it seems it does not have any switch to make the email field optional:
Have you checked the document type used for blogging... is there a mail field? If so, that one probably needs changed to be optional instead of mandatory (it's just a checkbox that needs unchecked). And probably need to change class names on fields that are no longer mandatory (2nd input box which is now marked with 'required')
I've checked the document type for blogging (Settings > Document Types). There are two document types related to the blog:
- Blog - Blog Post
Unfortunately none of them has an email field. They only have Allowed Templates, Allowed Child Nodetypes, Generic Properties, and Tabs (e.g. Content, Settings, Blogroll etc.)
Maybe I'm looking at the wrong place. Please, could you provide a step-by-step instruction how to get to the email field?
As I don't see any standard method of making the email address field optional, I created a workaround by modifying AjaxCommentForm.ascx: I removed the email field altogether and substituted a dummy email address when submitting data to Runway.Blog - an ugly solution but at least it works.
Optional email field
Hi,
I'm using Runway.Blog as my blog engine. I'd like to make the email field optional (it is mandatory by default). I found the following code snippet in AjaxCommentForm.ascx but it seems it does not have any switch to make the email field optional:
<div class="form-label">
<label for="email" class="fieldLabel">
<%= Runway.Blog.BlogLibrary.Dictionary("#Email","Email address") %>:
</label>
</div>
<div class="form-input">
<input type="text" id="email" name="email" class="input-text required email" />
</div>
Leszek,
Have you checked the document type used for blogging... is there a mail field? If so, that one probably needs changed to be optional instead of mandatory (it's just a checkbox that needs unchecked). And probably need to change class names on fields that are no longer mandatory (2nd input box which is now marked with 'required')
Cheers,
/Dirk
Thanks Dirk for your response.
I've checked the document type for blogging (Settings > Document Types). There are two document types related to the blog:
- Blog
- Blog Post
Unfortunately none of them has an email field. They only have Allowed Templates, Allowed Child Nodetypes, Generic Properties, and Tabs (e.g. Content, Settings, Blogroll etc.)
Maybe I'm looking at the wrong place. Please, could you provide a step-by-step instruction how to get to the email field?
Thanks,
Leszek
As I don't see any standard method of making the email address field optional, I created a workaround by modifying AjaxCommentForm.ascx: I removed the email field altogether and substituted a dummy email address when submitting data to Runway.Blog - an ugly solution but at least it works.
Thanks,
Leszek
is working on a reply...