Dear,
I like to add a paramter for the inline-use of chronoforms like
{chronoforms}form1&token=3{/chronoforms}
to use the data retrieve as described in your tutorial.
How can I do it, because the example above doesn't work.
Best regards
I like to add a paramter for the inline-use of chronoforms like
{chronoforms}form1&token=3{/chronoforms}
to use the data retrieve as described in your tutorial.
How can I do it, because the example above doesn't work.
Best regards
Hi tibi38,
Unless Max has added it in the latest release this feature doesn't exist in ChronoForms. You can though grab a parameter from the page URL if that helps?
Bob
Unless Max has added it in the latest release this feature doesn't exist in ChronoForms. You can though grab a parameter from the page URL if that helps?
Bob
No, this has not been added, you can add the "&token=3" to the article URL and the form will grab it.
Regards,
Max
Regards,
Max
Thanks for the information.
And also a Happy New Year.
My problem is, that I like to use the Joomla User-ID for grabbing in the database and also to include the for in a joomla page. So I have only the way to modify the menu-source (where and not a good idea for teh future) or to modify your code (maybe a better, but also not a good idea). Is there any other way? What is your proposal or your experience for that?
Best regards
And also a Happy New Year.
My problem is, that I like to use the Joomla User-ID for grabbing in the database and also to include the for in a joomla page. So I have only the way to modify the menu-source (where and not a good idea for teh future) or to modify your code (maybe a better, but also not a good idea). Is there any other way? What is your proposal or your experience for that?
Best regards
Hi tibi38,
You can always get the current user id from the Joomal User object. This adds it to the form data so that you can use it in the same way as any other form data.
You can always get the current user id from the Joomal User object. This adds it to the form data so that you can use it in the same way as any other form data.
<?php
$user =& JFactory::getUser();
$form->data['user_id'] = $user->id;
?>
Dear Greyhead,
I know how to get the user-id. I like to use the user-id to get a record for a form in the same way how you explain it for the token in the CFV4_db_record_loader document.
best regards
I know how to get the user-id. I like to use the user-id to get a record for a form in the same way how you explain it for the token in the CFV4_db_record_loader document.
best regards
Hi Thomas,
I thik you just need to put the parameter name e.g. user_id in the correct box in the DB Record Loader.
Bob
I thik you just need to put the parameter name e.g. user_id in the correct box in the DB Record Loader.
Bob
Dear Greyhead,
I used it in this way like shown in the attachment. But it doesn't load the record stored in the database.
Bets regards
I used it in this way like shown in the attachment. But it doesn't load the record stored in the database.
Bets regards
Hi tibi38,
And do you have the code snippet to add it to the Form Data in a Custom Code action before the DB Record Loader action?
Bob
And do you have the code snippet to add it to the Form Data in a Custom Code action before the DB Record Loader action?
Bob
Thanks Greyhead,
the point was the missing Custom Code which I forgot.
Thanks a lot.
the point was the missing Custom Code which I forgot.
Thanks a lot.
HI
Can you share what this custom code action is? Is it just calling out to that particular table.
Can you share what this custom code action is? Is it just calling out to that particular table.
i am sorry i am new. where do you exactly place this form data call out. is it in the custom code section. And what comes after the equal sign the actual url with the ¶meter call?
This topic is locked and no more replies can be posted.