TOPIC:

get url parameter data into edit form 8 years 1 month ago #80284

  • mischa13's Avatar Topic Author
  • mischa13
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 1
I want to get some parameters via url into a cb-form. I put the following lines into the prepared edit field:
$items["vname"]["value"] = JRequest::getVar("vname","");
and
http://www.mydomain.tld/index.php?option=com_contentbuilder&title=&controller=edit&return=&Itemid=607&vname=Exampletext
But it doesn't work as expected.

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

Aw: get url parameter data into edit form 8 years 1 month ago #80662

  • djhargrove's Avatar
  • djhargrove
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Official Support
  • Posts: 3419
  • Thanks: 222

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

Re: Aw: get url parameter data into edit form 8 years 1 month ago #81133

  • jofo
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0
Hi,

unfortunately I do not have access to that link. I have the same question as the original poster; could someone post the anwser here too, please?

Thanks,
Mark.

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

Re: Aw: get url parameter data into edit form 8 years 1 month ago #81201

  • djhargrove's Avatar
  • djhargrove
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Official Support
  • Posts: 3419
  • Thanks: 222
sorry this is what the user wrote


Hello,
I need to pass a variable from a list view of contentbuilder to another form of breezingforms.
Fisrt I have a detail template with values of a form (Breezingforms) one of this values is {nameproyecto:value}
I need this values pass by url to another form that get it.

Ín one button of the content template i have this link
<a href="index.php?option=com_breezingforms&amp;form&amp;ff_name=subirproject&amp;titulo_proyecto={nameproyecto:value}">boton</a>
And in the form subirprojec, in the form piece before form
$this->execPieceByName('ff_InitLib');
$proyecto=JRequest::getVar('titulo_proyecto'); 
ff_setValue('project' , $proyecto);
where project is the name of element i wan to fill with the value called nameproyecto.
But nothing occur, the field is not filled.
What is the problem? please a solution, thanks
vicky


then use

<?php return htmlentities( JRequest::getVar('nameproyecto') );?>

to grab the information

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

get url parameter data into edit form 6 years 10 months ago #104531

  • neno.vrgoc
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
<?php return htmlentities(JRequest::getVar('vname,''));?>

this work for me great...but...how to get url parametar data into page title too???...

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

get url parameter data into edit form 6 years 10 months ago #104723

  • lennerd
  • Offline
  • Developer
  • Developer
  • Posts: 4669
  • Karma: 72
  • Thanks: 411
Hello,

do you mean :

- including the page title into the form

or

- passing form values into the page title?
Regards,
Stefan

===============================================
Satisfied? Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

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

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