Use value form URL Parameter

  • michimedia
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0

michimedia created the topic: Use value form URL Parameter

Hi,

is it possible to use a value from the URL and enter it in a text box called "object name"?

For example: www.website.com/contact?object=3-room-apartment TOP 3

Thanks
Michael
#232141
  • Posts: 5090
  • Karma: 110
  • Thank you received: 474

MarioPuco replied the topic: Use value form URL Parameter

Hi,

Add this code to textfield value field :
<?php return JRequest::getVar('object');   ?>

This should capture the value from your URL.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#232142
The following user(s) said Thank You: michimedia
  • michimedia
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0

michimedia replied the topic: Use value form URL Parameter

Thanks, it works!
#232143
  • Posts: 5090
  • Karma: 110
  • Thank you received: 474

MarioPuco replied the topic: Use value form URL Parameter

Hi,

Great !
If you have any other questions, let me know.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#232144
Moderators: ForumSupporttomeperica
Time to create page: 0.067 seconds

New Support System

Dear Customers,

Users with active subscription have support priority which will be dona via ServiceDesk (My Account > Raise a ticket).
FREE Support topics will be answered when AND if there is time.

You can check support guidelines here : here

Regards,
Crosstec 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

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€

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!

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