TOPIC:

Breezingform with a selectlist populated with names of specific joomla usergroup 2 months 2 weeks ago #263970

  • pjfroelofs's Avatar Topic Author
  • pjfroelofs
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 59
  • Thanks: 0
Dear support,

I'm still very happy.
But ran into a little issue:

When I test my breezingform in backend 'preview' mode.
All works perfect.

But when I make a contentbuilder view, and test the 'New' option in the frontend, then the username is not saved.

Backend breezingform->Manage records shows:

Submitted via backend preview:

Datum (jjjj-mm-dd)
Name: datum
Element ID: 3940
Type: Calendar 2021-09-22

Naam bewoner
Name: sl
Element ID: 3941
Type: Select List Auke Postma

User_id
Name: User_id
Element ID: 4007
Type: Text 324


When submitted via contentbuilder view -> NEW in frontend:
Datum (jjjj-mm-dd)
Name: datum
Element ID: 3940
Type: Calendar 2021-09-22

Naam bewoner
Name: sl
Element ID: null
Type: null

User_id
Name: User_id
Element ID: 4007
Type: Text 324


There is something wrong with the element ID and Type of the select list.

Please advise.
Patrick

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

Breezingform with a selectlist populated with names of specific joomla usergroup 2 months 2 weeks ago #263972

  • Mirec's Avatar
  • Mirec
  • Online
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 1381
  • Karma: 2
  • Thanks: 76
Hi,

hmm, I just tested it on my server and I can see in view my username and user id.

could you please send me login information, backend link on email ma@evolutio.hr

I'll connect to your server and solve your problem.

Update:

could you please check, do you enabled the option 'edit by type', please see the image:

Image:


as you see in the image below my form which I created for you works well in view:

Image:



Regards,
Mirko
Attachments:

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

Last edit: Post by Mirec.

Breezingform with a selectlist populated with names of specific joomla usergroup 2 months 2 weeks ago #263988

  • pjfroelofs's Avatar Topic Author
  • pjfroelofs
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 59
  • Thanks: 0
Dear Mirko

edit by type, was already selected. SO that is not the issue.


I've send you the details from the login.

Regards, Patrick

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

Breezingform with a selectlist populated with names of specific joomla usergroup 2 months 2 weeks ago #263990

  • Mirec's Avatar
  • Mirec
  • Online
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 1381
  • Karma: 2
  • Thanks: 76
Hi,

ok, I'm received your email and I will take a look at it and back to you as soon as possible!

Regards,
Mirko

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

Breezingform with a selectlist populated with names of specific joomla usergroup 2 months 2 weeks ago #264021

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

this is solved now.

The code from before form pieces is disabled, and puted in your select list->List like:
<?php 
//Include BreezingForms Library
$db = JFactory::getDBO();//Get Database Object

//Create your own query here
$db->setQuery('Select name From jos_users Inner Join jos_user_usergroup_map On jos_users.id = jos_user_usergroup_map.user_id Where jos_user_usergroup_map.group_id =9 ORDER BY name ASC');

$result = $db->loadColumn(); //load the result from the query
$test = "";
for ($i = 0; $i < count($result); $i++)
{
$test .= "0;".$result[$i].";".$result[$i]."\n";
}
$value = $test; // this is actually for CB

return $test; // regular return to BF
?>
After that all worked as well

Let us know if you need anything else

Regards,
Tihana

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

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.068 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!