List view using another form data

  • mrperfectpz
  • Topic Author
  • Away
  • Expert Boarder
  • Expert Boarder
  • Posts: 83
  • Thank you received: 0

mrperfectpz created the topic: List view using another form data

I hope I can explain this correctly for you.

I have a list view showing a list of soccer leagues, I also have a seperate form which has the league ID passed from the list view so corrisponds to that league.

Can I create a php loop in item code wrap that will check a column in the records from this form to see if the ID matches the ID in the list view and if correct I can show values in this item
#239164
  • Posts: 2993
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: List view using another form data

Hello,

I must say that I am not 100%b sure that I have understood how you want this to work.

Here is an example of how to write a query to database crosstec.org/en/forums/37-contentbuilder...e-plugin.html#227687 based on the value of a field. maybe this will help you achieve what you want.

Regards,

Mihaela
#239174
  • mrperfectpz
  • Topic Author
  • Away
  • Expert Boarder
  • Expert Boarder
  • Posts: 83
  • Thank you received: 0

mrperfectpz replied the topic: List view using another form data

Hi Mihaela

I think I may want to do this in content prepare to show results in the template.

1. Current list field = 'leagueID'
2. Other form field = 'JoinLeagueID'

Check through all records from other form field 'JoinLeagueID' and if it matches 'leagueID' then show results in template.
#239204
Moderators: ForumSupporttomeperica
Time to create page: 0.057 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