Welcome, Guest

Passing and Collecting params through URL's
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Passing and Collecting params through URL's

Passing and Collecting params through URL's 1 year, 6 months ago #15385

I know this is an old story and covered in many posts, all of which I have read, tried, read again and hit the scotch bottle...

OK, I am no programmer, so this might all seem very simple to many of you, but to me, it's more than gobble-de-gook....

In my menu item for my selected form, I have
&ff_param_vClass=new


I am now trying to complete two things;

1) Simply display that param to check it is being passed and check the right thing is being passed, in a textbox.. I have tried...
<?php return $ff_param_vClass; ?>

<?php return ff_setValue('test', ff_getParam('ff_param_vClass'));

ff_setValue('test1', JRequest::getVar('ff_param_vClass',''));


All with no outcome or display...

The real reason for trying to pass a param in the URL is to actually change a radiobutton, which then has visibility rules assigned to show different questions based on the incoming URL param. Which obviously has no effect at the moment, if I can't even get the basic display in a textbox to work.

So, any help here would be appreciated before I tear all my hair out and hit the bottle too hard...

I have been completely lost from the other posts , as to , where, what goes...

So...

URL/MENU-ITEM: Is this correct, so far?

TEXTBOX: What needs to be done here to display the param $ff_param_vClass ?

RADIOBUTTON: What needs to be done here?

SCRIPTS: What needs to happen here?

PIECES: What needs to be done here?

FORM-SETTINGS: Does anything need to be done here?

Thanks for your help guys, this is driving me crackers... Been loving BF without trying to do this bit...

Cheers
Russ
  • WinterRG
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0

Re: Passing and Collecting params through URL's 1 year, 2 months ago #21310

I'm in the exact same situation, except that I'm using the BF plugin to embed my form in an article. Works fine, except that I can't pass in a value to a field, not even a simple text field. Did you ever figure out how to do it?
  • dkwhisle
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 2
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.47 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany