TOPIC:

Subscription for forms 7 months 3 weeks ago #238889

  • Topic Author
  • deeplogica
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 42
  • Thanks: 0
HI
We have a specific requirement to be able to have companies subscribe to our platform and each company will have a a project with a list of users. These users need to be given access to a form by logging in with their username and company name.
When the form is saved, it must save it agains that user's id.

How can I achieve this with Breezing Forms? The form I have created is a questionnaire, but I'm not sure how i can link it like this,

thanks

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

Subscription for forms 7 months 3 weeks ago #238914

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

If I have understood correctly, you want that user's ID is saved along with the submission.

You can add an ID field to your form and fill it in automatically, by putting this code as Value in Properties of that element:
<?php $user =& JFactory::getUser(); return $user->id; ?>

Of course, in order for the id to get saved, the user must be logged in.

Regards,

Mihaela

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

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