Forums

pass parameter with the plugin

jaem15 29 Dec, 2012
Hi everybody!
I was a user of v3 and now im testing v4. It was more than a year ago and i have the sensation of beginning again.

I am trying to use a form displayed in a article. I got it using the plugin
{chronoforms}primero{/chronoforms}

I am trying to see a form with data if a previous submit succeded. I got it with this tutorial http://www.chronoengine.com/tutorials/v4-tutorials/162-cfv4dbrecordloader.html.
In my case
http://localhost/tic/index.php?option=com_chronoforms&chronoform=primero&token=2

But, how i pass de variable token with its value with the plugin?

Thanks a lot and congratulations for this great job.
GreyHead 30 Dec, 2012
Hi jaem15,

You can't pass a parameter with the plug-in.

I'm not clear why you need to though? Can't you just use the direct form link?

Bob
jaem15 30 Dec, 2012
But, how i put the direct form link inside a article?
I mean, how i put a form inside an article without the plugin because of i can only use the direct link?
Do you understand what i mean? I am trying to put a reload and update form inside an article.

thanks
GreyHead 31 Dec, 2012
Hi jaem15,

You don't need to pass a parameter to update and re-load a form in an article. I'm clearly not understanding what you need to do here.

Bob
jaem15 31 Dec, 2012

Hi jaem15,

You don't need to pass a parameter to update and re-load a form in an article. I'm clearly not understanding what you need to do here.

Bob



Sorry but i dont understand you ... how i put a form with this parameter token=xxxx in the call, inside an article, without use the plugin, so i can put a parameter with the plugin {chronoforms}
Do you what i mean?
GreyHead 31 Dec, 2012
Hi jaem15,

Do you what i mean?

Sorry, no I don't understand what you want to get done :-(

You can't add a parameter with the plug-in code.

You could pass one with the article URL - but does that help?

Bob
jaem15 01 Jan, 2013
oh ... im so sorry because you dont understand me .. i feel so bad
I know how to see a form inside an article with the plugin
I know how to call a form with a parameter to reload with nameform?parameter=value

How can i mix two things ... i cant explain better ... sorry, i want to see a form inside an article but i cant use the plugin becasue i need to add the parameter to the form call .. sorry ...its my bad english
please ... do you what i mean .. .maybe is a silly thing but i cant see it ... sorry
jaem15 01 Jan, 2013

Hi jaem15,

Do you what i mean?

Sorry, no I don't understand what you want to get done :-(

You can't add a parameter with the plug-in code.

You could pass one with the article URL - but does that help?

Bob



Uhmmm, i can pass the parameter with the article and it arrives to the form by the plugin .. yes?
Im going to check it
GreyHead 01 Jan, 2013
Hi jaem15,

What does the parameter do? What is is setting in the form and where does the value come from?

If you add it to the URL used to call the article then it should also be passed to the form.

Bob
jaem15 01 Jan, 2013
The parameter is a value for loading the previous saved data (if exist) in the form.

I tested and it runs ok .... it complicates me a little the menu items creation but it does what i need.

Thank you very much one more time, and happy new year everybody!!
This topic is locked and no more replies can be posted.