TOPIC:

Zusätzliche Profildatenfelder aus Benutzerverwaltung für DropDown aufbereiten 1 week 1 day ago #256863

  • Topic Author
  • Mister.Miracle
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 126
  • Karma: 1
  • Thanks: 1
Hab es... ich habe die jeweiligen Elemente einzeln abgefragt!
Dann einzeln mit $result .= "..."; zusammengefügt.
$db->setQuery('SELECT value FROM #__fields_values WHERE field_id="3"');
$result = $db->loadResult();
$test .= "0;".$result.";".$result."\n";

$db->setQuery('SELECT value FROM #__fields_values WHERE field_id="4"');
$result = $db->loadResult();
if ($result != "Ausschlußkriterium") {
	$test .= "0;".$result.";".$result."\n";
}

$db->setQuery('SELECT value FROM #__fields_values WHERE field_id="5"');
$result = $db->loadResult();
if ($result != "Ausschlußkriterium") {
	$test .= "0;".$result.";".$result."\n";
}

Jetzt passt es.

Jetzt muss ich nur passend zur Auswahl $result die passende Erreichbarkeit aus den Felder Field_id 6 und 7 und 8 auswählen.

Also so in Richtung:
wenn $result_auswahl == Wert aus Feld 3; dann Erreichbarkeit aus Feld 6;
wenn $result_auswahl == Wert aus Feld 4; dann Erreichbarkeit aus Feld 7;
wenn $result_auswahl == Wert aus Feld 5; dann Erreichbarkeit aus Feld 8;

Aber hier bin ich aktuell noch nicht weitergekommen ;-)

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

Zusätzliche Profildatenfelder aus Benutzerverwaltung für DropDown aufbereiten 1 week 13 hours ago #256887

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

yes you are right the problem is "AND".

Now I need to find a solution how to take those 3 values of custom fields.

Maybe I can access to your page, what do you think about ?

Regards,
Tihana

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

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.044 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

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

Summer 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!