Embed an object

  • Posts: 2986
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: Embed an object

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
#239184
  • deeplogica
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0

deeplogica replied the topic: Embed an object

HI
I sent you the email
thanks!
#239186
  • Posts: 2986
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: Embed an object

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
#239188
  • deeplogica
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0

deeplogica replied the topic: Embed an object

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!
#239190
  • Posts: 2986
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: Embed an object

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
#239192
Moderators: ForumSupporttomeperica
Time to create page: 0.099 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here