1. Poul Theodorsen
  2. Bugs
  3. Wednesday, 27 August 2014
  4.  Subscribe via email
I have made it mandatory that user must enter his name before commenting.
But if user clicks on "Anonymous" above the name field and then click the Send button, the comment is submitted - without the mandatory name.


What is the idea of the Cancel button? If think that users will feel uncanny, because after cancelling the form, it still remembers your info.
It ought to work exactly as a usual Clear button - that's clearing everything for good.


Probably related to the above, even though I have Cleared the form, attempted to send it as an empty form and reloading the page, for some strange reason, the email field is always prefilled with the letter "i" instead of "Enter your email". The "i" in this case is probably coming from the first letter in a previously entered email adr

Another thing puzzles me: why is the "Cite" button publicly visible, when setting is that only administrators can reply? It is of no use to the public.
Responses (2)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Poul,
1. Okay, I've put this on the todo list for fixing

2. The cancel button. Well, we can make it clear the form, but I thought - what If I accidentally click it. I don't want to lose all the data. So having it close the form, but keep the text makes sure that if I decide otherwise I can still post the comment.
3. The email and name are stored in a cookie and it starts to save it when you enter the first character. If you have less than 1 characters it doesn't do anything.

4. With "cite" button I guess that you mean quote. Quote is different from reply. You can set the reply to be available only to administrators, but there is no option to hide the quote button. If you don't want it you'll have to make a template override and remove the button.

Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
1. Actually this should be already fixed in the last dev. release. Can you try it out?
Alternatively you could do the following modifications:
Go to \components\com_comment\templates\default\default_form.php
line 155 looks like this:

<button class="btn-link btn-small ccomment-posting-as">{{user.getDefaultName}}</button>

add type="button" to it like this:

<button type="button" class="btn-link btn-small ccomment-posting-as">{{user.getDefaultName}}</button>

Then you need to do the same for the cancel button on line 250:

<button class="btn ccomment-cancel"><?php echo JText::_('COM_COMMENT_CANCEL'); ?></button>

change it to

<button type="button" class="btn ccomment-cancel"><?php echo JText::_('COM_COMMENT_CANCEL'); ?></button>

Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 2
  • Page :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Submission form doesn't send data to database or w
I don't know if this is a bug, but the submission form all of a sudden, maybe af...
13 Replies
Posted on Monday, 23 January 2023
  • #custom fields
  • #submission form,
Problem with Default Booking Form
Hallo zusammen, ich habe ein Problem mit dem Default Booking form. Immer wenn ic...
5 Replies
Posted on Monday, 30 January 2023
  • New
  • Issue in displaying map
    Hi I am having and issue with the display of the map. I did all the process wi...
    21 Replies
    Posted on Tuesday, 20 September 2022
    Slow web page loading
    Hi I have a question about HotSpot - Mapview. I've uploaded several 36 differen...
    3 Replies
    Posted on Saturday, 28 October 2017
    • #Hotspots
    • #mapview
    ccomment issue on mobile devices
    Hello I installed your Ccomment component, but I noticed that it has a bug in m...
    3 Replies
    Posted on Friday, 27 January 2023
  • New