Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to build a liability waiver

How to build a liability waiver 16 years 6 months ago #1366

  • JComeskey
  • JComeskey's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 0
I have found a solution to the waiver issue that seems to be working quite well for me.

I used a radio button.

Create a new custom field. Choose \'radio\' for the field type. For the label, I used the text, \'Please read the waiver carefully and click here:\'.

Then I inserted the content of the waiver as the only value in the \'values\' field. Then I made it a required field.

Then I created a second custom field beneath the waiver text radio button. This one is a text field, size=5. For the label, I used, \'I have read, understand, and agree to the waiver above. Initial here:\'. I also made this a required field.

If your waiver is very long, then you will need to make 2 small changes in order to accommodate all of your text:

1. Using phpmyadmin, go to the dtregister_fields table in your database. Edit the \'values\' field and change the varchar limit to a larger number. I used 3000.

2. Using JoomlaXplorer, go to administrator/components/com_dtregister/admin.dtregister.html.php.
On line 1855, change maxlength to a larger number - same as above. In my case, I used 3000. So it looks like this:
<input class=\"text_area\" type=\"text\" name=\"values\" size=\"70\" maxlength=\"3000\" value=\"<?php echo $row->values;?>\" <?php if((!$row->type) || ($row->type==2)) echo  \"disabled\"; ?> /> (Value is delimited by | character)

As of 05-07-08, you can find an example here:
http://www.belcommunications.net/orrrc/index.php?option=com_dtregister&task=mainlist&type=pay_later_individual&eventId=4&paymentmethod=pay_later&Itemid&Itemid=29
(This is a development site, so if you are reading this well after May 2008, try finding an event at www.orrrc.org .)

Good luck!

Please Log in or Create an account to join the conversation.

How to build a liability waiver 16 years 6 months ago #1371

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Thanks for sharing!

Please Log in or Create an account to join the conversation.

How to build a liability waiver 16 years 6 months ago #1458

  • azoomm
  • azoomm's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
First, let me say this is a fantastic idea.

JComeskey wrote: 1. Using phpmyadmin, go to the dtregister_fields table in your database. Edit the \'values\' field and change the varchar limit to a larger number. I used 3000.


I can\'t get this to work - I\'m using MySQL 4.0 and it won\'t allow me to make a varchar more than 255.

Any ideas?

Please Log in or Create an account to join the conversation.

How to build a liability waiver 16 years 3 months ago #2059

  • JComeskey
  • JComeskey's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 0
azoomm,

Sorry for the slow response. I must have missed my forum subscription notification and did not even realize that you had posted your question.

Did you ever resolve your problem?

I am using mysql 5.0 and cannot comment on 4.0.

However, I simply navigate in phpmyadmin to the dtregister_fields table. Then I click the edit pencil in the row for the values field. Then I changed the number in the \'length/values\' cell to \'3000\' and click \'save\'.

I don\'t recall employing any special tricks or anything...

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.203 seconds