TOPIC:

Get other form values fro database 1 year 6 months ago #243627

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
Can you please send me your 2 forms again? But please select only the 2 forms in the create package section because you sent me 16 forms and all the scripts and pieces and I am having a hard time now to dig through everything.

Thanks!

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

Get other form values fro database 1 year 6 months ago #243635

  • Topic Author
  • mrperfectpz
  • Offline
  • Gold Breezer
  • Gold Breezer
  • Posts: 411
  • Thanks: 0
Sorry I didnt see all attached, here are only the 2 forms needed
Attachments:

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

Get other form values fro database 1 year 6 months ago #243644

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
The only relevant differences are that in the create form the hidden input holding the record id and user id are missing. But this ID is important to get the data in the content parepare tab.

Please re-add this hidden input with the name (not title) "recID" and this default value
<?php return $this->record_id; ?>

Also add a hidden input called "UserId" (name, not title) and add this as default value
<?php return JFactory::getUser()->get('id',0); ?>

Then proceed like I explained here (I updated the code there based on the above):

crosstec.org/en/forums/1-forums/127752-g....html?start=6#242061

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

Last edit: Post by TheMuffinMan.

Get other form values fro database 1 year 6 months ago #243673

  • Topic Author
  • mrperfectpz
  • Offline
  • Gold Breezer
  • Gold Breezer
  • Posts: 411
  • Thanks: 0
Hi Markus

I have done as you requested however it doesnt work as explected.
If I use element names from create league it will display then no problem,
but when I use element names from join league it will not display anything

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

Get other form values fro database 1 year 6 months ago #243678

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
The problem is that I couldn't identify any element that is called "JoinedLeageName" in the create form. That's why I assumed it is the other.
How is this field now called? Because that name would be needed to be replaced than with in the code of mine.

But the user id is displayed I assume?

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

Get other form values fro database 1 year 6 months ago #243683

  • Topic Author
  • mrperfectpz
  • Offline
  • Gold Breezer
  • Gold Breezer
  • Posts: 411
  • Thanks: 0
The element 'JoinLeagueName' is not in the create form its in Join_League form.
yes the UserID is displayed

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

Moderators: ForumSupport
Time to create page: 0.055 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!