How to use ConfirmedPasswordField in a frontendform

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Hi,
I d like to use ConfirmedPasswordField in my FrontEnd-Form.
The fields are getting displayed but without any validation. Does something elsse need to be added? Javascript?

Thanks in advance
Fabian