TOPIC:

Embed an object 7 months 1 day ago #239184

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
You can send it to mihaela.kobovac@crosstec.org or you can post here inside the confidential tags, whatever suits you more.

Please in the email write the name of the form that I should look at.

Regards,

Mihaela

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

Embed an object 7 months 1 day ago #239186

  • Topic Author
  • deeplogica
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 42
  • Thanks: 0
HI
I sent you the email
thanks!

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

Embed an object 7 months 1 day ago #239188

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

As I have assumed, the value of the selected option in the "project_list" value is being properly saved to the $project_id variable.

I have tested this using the following code:
echo $project_id;
exit();
and the value of the selected option was properly printed.

Try to use this code to make a database query work:
$db->setQuery("insert into active_project (project_id, user_id ) values('" .$project_id  ."','" .$user->id  ."' )"   ) ;
  $db->execute();

Also, I have made that the number of the selected project indeed is shown on the second page of your form using the code that I have provided here in one of my previous posts. So that is the way to use the project number in the text on the form.

If you wish to use this value for values of other fields in your form, that can be easily done, but I see you don't have other elements in this form.

Regards,

Mihaela

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

Embed an object 7 months 1 day ago #239190

  • Topic Author
  • deeplogica
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 42
  • Thanks: 0
Hi

Ok great, thanks. I am still not sure what I was doing wrong, but it does seem to work now.
thanks for all your help!

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

Embed an object 7 months 1 day ago #239192

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Great!

I'm glad I've helped and that this is working properly for you now, that is most important. :)

If you are "I am still not sure what I was doing wrong" referring to a database query, I have added quotation signs.

Regards,

Mihaela

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

Moderators: ForumSupport
Time to create page: 0.040 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

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!