• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Encoding the Output for a URL

Encoding the Output for a URL 11 years 2 months ago #26814

  • josh.thomson
  • josh.thomson's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 2
I am using your RSForms Pro component in a range of applications.

I have set the current input items for this form as: Name, DateFrom, DateTo & Comment.

I am trying to append the following form details to a URL that will be pasted on the admin email.

But it will not let me encode the results to the url....

So instead of getting:
www.website.com?name=my%20name%20here&dateFrom=Here

it's giving me:
www.website.com?name=my name here&dateFrom=Here

...which is not encoded and cut's off some of the hyperlink!


Do you know where I can fix this?.... I have tried:
<?php urlencode(?> {Name:value} <?php ); ?>


and various other little attempts... but cannot seem to get it encoding... do you have any suggestions?


many thanks.

josh.

Oh, I know some php, some JS, html & css if that helps
Last Edit: 11 years 2 months ago by josh.thomson.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!