Skip to Content Skip to Menu

[SOLVED] Terms and Conditions Registration Layout Being Ignored

  • bascherz
  • bascherz
  • OFFLINE
  • Posts: 228
  • Thanks: 29
  • Karma: 11
3 years 11 months ago - 3 years 10 months ago #322092 by bascherz
I tried forcing the registration layout for Terms and Conditions to be this:
Code:
I agree to keep confidential all details related to my recipient families, and to adhere to the USDA guidelines for food safety as described here.

with "here" being the link to the document. I did this by pasting this into the Registration Value Layout box:
Code:
I agree to keep confidential all details related to my recipent families, and to adhere to the USDA guidelines for food safety as described <a href="[value]">here</a>.

That didn't do a thing. Nothing. Didn't change the appearance on the registration form at all. So I just put "blah" into the box. Again, nothing. Is this box ignored for this "special" field?

Also, how do I get rid of the word "Accept"?

Thanks in advance.
Bruce

Bruce S - Vienna, VA
Last edit: 3 years 10 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
3 years 11 months ago #322094 by krileon
You cannot use [value] like that as explained in your other topic. [value] will not give you the raw value of a field. It will give you the entirely processed with HTML included value. You'll need to use language overrides with the following language keys to have what you're wanting.

FIELD_FIELDIDHERE_TERMS_FIELD_I_AGREE_ON_THE_ABOVE_CONDITIONS
FIELD_FIELDIDHERE_TERMS_FIELD_ACCEPT_URL_CONDITIONS

Replace FIELDIDHERE with the actual ID of your field. For example you might have the following.

FIELD_39_TERMS_FIELD_I_AGREE_ON_THE_ABOVE_CONDITIONS
FIELD_39_TERMS_FIELD_ACCEPT_URL_CONDITIONS

Which of the above 2 you need depends on what mode the field is in. The first string is used if terms and conditions output is set to Text and the second is for URL based terms and conditions. Their default values are as follows.

Key: TERMS_FIELD_I_AGREE_ON_THE_ABOVE_CONDITIONS
Text: I Agree to the above [type].

Key: TERMS_FIELD_ACCEPT_URL_CONDITIONS
Text: Accept <a href=""[attributes]>[type]</a>

See the below on how to use language overrides.

www.joomlapolis.com/blog/kyle/18701-language-overrides-have-arrived


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • bascherz
  • bascherz
  • OFFLINE
  • Posts: 228
  • Thanks: 29
  • Karma: 11
3 years 11 months ago #322097 by bascherz
All makes sense. Thanks, Kyle!

Bruce S - Vienna, VA
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum