Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] How to solve this?

11 years 9 months ago - 11 years 7 months ago #224501 by dalibor.strop
[SOLVED] How to solve this? was created by dalibor.strop
Hello I would like to ask how to solve this:

I want people to chose from two options one is predefined and one will be their autoresponder code both inserted into article with cb content. I really dont know how to start. Thank you for any help.

Or maybe have just checkbox with question if they have autoresponder and if yes the text field will show up and replace the default code with the autoresponder one.

thank you
Last edit: 11 years 7 months ago by krileon.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 9 months ago #224685 by nant
Replied by nant on topic How to solve this?
[mod note: moved to Professional support area]

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 9 months ago #224733 by krileon
Replied by krileon on topic How to solve this?
I don't understand what you're trying to do. Please clarify further. Where is this autoresponder code coming from? A CB field? A GET variable in the URL? You can conditionally show/hide fields on registration using CB Conditional, but this has nothing to do with an article and substitutions in 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.

11 years 9 months ago #224735 by dalibor.strop
Replied by dalibor.strop on topic How to solve this?
I want people to click on checkbox "I have autoresponder" which will then cause to show new field where they enter the code. If they dont do it there will be another piece of code like:

<!--Contact info start-->
<p>My name: #name<br />phone: {cb:[cb_phone]}<br />skype: {cb:[cb_skypeid]}<br />{popfeed}Request more info via email{/popfeed}</p>
<!--Contact info end-->

but if they enter the code this default code should be replaced with the auto responder one
here is how it shows on page now: feel-young.eu/cs/userpages/see/ENalura1

thank you for your help

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 9 months ago #224748 by krileon
Replied by krileon on topic How to solve this?
Well if it was on CB registration then it's absolutely doable using CB Conditional and 2 fields (1 checkbox to say they have a code and 1 text field for them to supply it). However in a Joomla article this is 100% out of CBs hands and you'll need some 3rd party extension that can provide this.


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.

11 years 9 months ago - 11 years 9 months ago #224864 by dalibor.strop
Replied by dalibor.strop on topic How to solve this?
Ok I have created 2 fields one chckbox which is set as follows:
Field conditional others > operator: not empty > show text field autoresponder
so when I click checkbox this field appears but when I enter autoresponder code it doesnt saves it.
actually I think it doesnt allow me to enter script like:
<script type="text/javascript" src=" app.getresponse.com/view_webform.js?wid=xxxxx ">

then I need some field which will give me two different results: one is default code second is autoresponder code.

thank you for your help
Last edit: 11 years 9 months ago by dalibor.strop.

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

Moderators: beatnantkrileon
Powered by Kunena Forum