Skip to Content Skip to Menu

REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR

5 years 2 months ago #313976 by Chris041973
Replied by Chris041973 on topic REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR
I don't understand your explanation ...
For instance, where to past the code below ????? Nothing more ????
[cb:if reason="edit"]PROFILE EDIT DISPLAY ONLY[/cb:if][cb:if reason="register"]REGISTRATION DISPLAY ONLY[/cb:if][cb:if reason="search"]SEARCH DISPLAY ONLY[/cb:if]

I am not a developer and please I need a detailed and clear step by step procedure to realize the simple search below in the User List :
I am a (drop-down field, single select) :
- Man
- Woman
Looking for (Check-Box field, multiple select) :
- Man
- Woman

Thank you ...

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
5 years 2 months ago #313979 by krileon


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.

5 years 2 months ago #313981 by Chris041973
Replied by Chris041973 on topic REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR
We have 2 fields :
Field no. 1 = I AM A
Field no. 2 = LOOKING FOR A
Do you mean that we have to paste the code below in the "Title" field of both Fields no. 1 & 2 ?
If yes, We have just paste the code below in the "Title" field of both Fields no. 1 & 2 and it doesn't work ... The result is that "SEARCH DISPLAY ONLY" appears instead of the Fields no. 1 & 2 in the Search Users ...
[cb:if reason="edit"]PROFILE EDIT DISPLAY ONLY[/cb:if][cb:if reason="register"]REGISTRATION DISPLAY ONLY[/cb:if][cb:if reason="search"]SEARCH DISPLAY ONLY[/cb:if]
It might be a misunderstanding, Please could you explain or re-explain us how to set up the Fields no. 1 & 2 ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
5 years 2 months ago #313982 by krileon

Do you mean that we have to paste the code below in the "Title" field of both Fields no. 1 & 2 ?

You use the supplied code to cause the title of the field to change based off where it's being displayed.

[cb:if reason="search"]LOOKING FOR A[cb:else]I AM A[/cb:else][/cb:if]

The above for example swaps "I AM A" to "LOOKING FOR A" when displayed as a search field on a userlist.


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.

5 years 2 months ago #313984 by Chris041973
Replied by Chris041973 on topic REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR
Our explanation might not be enough clear too ...
We have 2 registration/edit fields :
1st Field : I AM A (drop-down select)
2nd Field : LOOKING FOR A (check-boxes).
To search and find the right user :
- "LOOKING FOR A" Field will become the first search field (check-boxes) and the title will be replaced by "I AM A"
- "I AM A" Field will become the second search field (drop-down select) and the title will be replaced by "LOOKING FOR A"


A- REGISTRATION / EDIT

FIELDS 1 (drop-down select) : I AM A
Option 1.1 = Man
Option 1.2 = Woman

FIELDS 2 (check-box) : LOOKING FOR A
Option 2.1 = Man
Option 2.2 = Woman

B- SEARCH (Users)

FIELDS 2 (check-box) : Replace [strike]"LOOKING FOR A"[/strike] by "I AM"
Option 2.1 = Man
Option 2.2 = Woman

FIELDS 1 (drop-down select) : Replace [strike]"I AM A"[/strike] by "LOOKING FOR A"
Option 1.1 = Man
Option 1.2 = Woman
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Please, Do you mean that we have to paste the code below in the "Title" field of both Fields no. 1 & 2 ?
If yes, We have just paste the code below in the "Title" field of both Fields no. 1 & 2 and it doesn't work ... The result is that "SEARCH DISPLAY ONLY" appears instead of the Fields no. 1 & 2 in the Search Users ... attached file ...
[cb:if reason="edit"]PROFILE EDIT DISPLAY ONLY[/cb:if][cb:if reason="register"]REGISTRATION DISPLAY ONLY[/cb:if][cb:if reason="search"]SEARCH DISPLAY ONLY[/cb:if]
It might be a misunderstanding, Please could you explain or re-explain us how to set up the Fields no. 1 & 2 ?
Attachments:

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

5 years 2 months ago #313985 by Chris041973
Replied by Chris041973 on topic REGISTRATION & SEARCH Fields : I AM -> LOOKING FOR
Please where to paste the code below ?
[cb:if reason="edit"]PROFILE EDIT DISPLAY ONLY[/cb:if][cb:if reason="register"]REGISTRATION DISPLAY ONLY[/cb:if][cb:if reason="search"]SEARCH DISPLAY ONLY[/cb:if]

Please where to paste the code below ?
[cb:if reason="search"]LOOKING FOR A[cb:else]I AM A[/cb:else][/cb:if]

In CB/Field Management/Global : Title, Description FIELDS, OTHER FIELDS ?
In CB/Field Management/Parameters : Profile Value Layout, Profile Edit Value Layout, Userlist Value Layout, Userlist Search Layout, Registration Value Layout FIELDS, OTHER FIELDS ?

These codes should be paste for both Fields no.1 & 2 ?
Field no. 1 = I AM A
Field no. 2 = LOOKING FOR A

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

Moderators: beatnantkrileon
Powered by Kunena Forum