TOPIC:

Auto fill field 2 months 2 weeks ago #277627

  • Topic Author
  • ducman
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 115
  • Thanks: 0
Yes, I only use CB, that's why I used the edit prepare method but as I was telling you I have to enter the file twice to fill in the field (once edit the Yes, and enter again so that the change is saved in the field).

Thank you

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

Auto fill field 2 months 2 weeks ago #277629

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11860
  • Karma: 3
  • Thanks: 765
Hi,

please go to Conten builder->Views->your view->View tab and in item wrap code of that field add:
<?php if ($value=='Yes') {$value='something';} 
elseif($value=='No') {$value='something';}

?>
But this is only for one select list, if you select some value, then value is saved in this select list

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Auto fill field 2 months 2 weeks ago #277631

  • Topic Author
  • ducman
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 115
  • Thanks: 0
Thanks Tihana, but what I need is for that "something" to be saved in a text field, is that possible?

Thank you!!

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

Auto fill field 2 months 2 weeks ago #277633

  • Topic Author
  • ducman
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 115
  • Thanks: 0
Sure!! As I was saying, I have used the edit prepare, but unfortunately it does not update immediately, you have to enter twice (the one you choose and the one that adds the text in the field)... thanks for your help!

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

Auto fill field 2 months 2 weeks ago #277634

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11860
  • Karma: 3
  • Thanks: 765
Hi,

could you please send me login information, and backend link that I can create a test example with this, because I had a problem with server on this PC?

Use this tag:
[confidential]
[/confidential]
Only forum moderator can see this

Regards,
Tihana

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

Auto fill field 2 months 2 weeks ago #277635

  • Topic Author
  • ducman
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 115
  • Thanks: 0
Tihana, I'm sorry but I'm not allowed (by company policy) to provide this data, I understand that without it you can't help me; but I really appreciate your help!

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

Moderators: ForumSupport
Time to create page: 0.052 seconds

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!