Skip to Content Skip to Menu

[SOLVED] Help with Creating a Query Field

10 years 1 week ago #251731 by Smooth2SITF
Replied by Smooth2SITF on topic Help with Creating a Query Field
I already read through it. Its a little confusing for me, so that's why I am here asking.

I understand about the raw data VS formatted. I get that.

The RAW data works for what I wanted to do however, with the email, I didn't really want it to display the actual e-mail address, but to display the "Send EMail" link for it to go to the page for the website to send out as a PHP email

So, is there an additional command I can add to [FIELD_NAME] that will display that RAW data as a link to PHP email page? Basically, to display like it does on the profile, if that field was public.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
10 years 1 week ago #251772 by krileon
Replied by krileon on topic Help with Creating a Query Field
You can not get the Send Email with raw substitution. The Send Email is the formatted display of the Email field. If you want formatted display then you need to use the formatted display substitution then you need to make sure the field access is properly configured. This includes a tab the user can reach and the field being set to display on profile (the tab it self can be in a not shown on profile position). The email form also is not publicly visible by default, you need to enable public usage of the email form within CB > Configuration > General if you want public users to use it.


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.

10 years 1 week ago #251831 by Smooth2SITF
Replied by Smooth2SITF on topic Help with Creating a Query Field
Ok, this is how I ended up solving the issue. I had to think a little bit outside of the box. So, I moved the original "email" field to my new public hidden tab. I set the parameters to not display on profile, but to show up on edit and registration like it already has.

I took the new CustomHTML field and used the [cb:userfield field="FIELD_NAME" /] coding to display the e-mail with the formatting and placed it in the protected Contact tab to display only to registered users. I then changed the list fields to the original "email" field that was now in the public hidden tab and uvula! It works! Probably not the best option, but it works!

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

Moderators: beatnantkrileon
Powered by Kunena Forum