1. techjoomla
  2. Bug Report
  3. Monday, September 22 2014, 11:35 AM
Hello Guys,

I want to add one terms and condition fields which will open its all details in a Joomla article or in a modal popup along with the checkbox provided in it.

It should work like
1.User needs to click on the checkbox to accept the terms and condition
2. If your want to read the whole article it should fetch the inserted data and show it in a nice bootstrap modal popup
(It could be from Joomla article or from the easy-profile (either one of these) )

Ideally, This needs to be incorporated in the easy-profile package.

Guys please help me out with this issue.

Thanks in advance

Durgesh
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry for now we not have a TOS field type, but we plan to do it in future.

for now you can build something like screenshot. follow this doc to create a checkbox https://www.easy-profile.com/docs/29-fields-only-on-registration-terms-of-service.html

1) ok, checkbox is possible
2) you can insert your HTML into delimeter field (in description), you also put a link like this:
<!-- Button to trigger modal -->
<p><a class="btn" href="#myModal" data-remote="index.php?option=com_content&view=article&id=11111&tmpl=component" data-toggle="modal">Read terms of service</a></p>
<!-- Modal -->
<div id="myModal" class="modal hide fade" tabindex="-1">
<div class="modal-header"><button class="close" type="button" data-dismiss="modal">×</button>
<h3 id="myModalLabel">Terms of Service</h3>
</div>
<div class="modal-body">
<p>Loading…</p>
</div>
<div class="modal-footer"></div>
</div>


replace 1111 with your TOS article id
Attachments (1)
  1. more than a month ago
  2. Bug Report
  3. # Permalink
Nothingface Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 1
admin Accepted Answer
Admin
Hi,
sorry for late reply, it's a weekend for us.


The descriptions of fields are displayed as tips (see screenshot 1), this for all fields type except for HTML delimeter, description of HTML delimiter field is displayed inline (see example on screenshot 2)
Attachments (2)
  1. more than a month ago
  2. Bug Report
  3. # 2
Nothingface Accepted Answer
I absolutly don´t get it. I have no idea how the user can read the Terms Of Use to accept it.
  1. more than a month ago
  2. Bug Report
  3. # 3
admin Accepted Answer
Admin
Hi,
try to follow these steps:
- Remove description from your "AGBs" checkbox field
- Create a field of type "HTML Delimiter" and put in description your text with link to TOS article, set this field to show only on registration page.
  1. more than a month ago
  2. Bug Report
  3. # 4
Nothingface Accepted Answer
Thanks. It worked!
  1. more than a month ago
  2. Bug Report
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.