Hello ;
Firstly, thank you for the component.
Secondly : I've a problem with my form.
I would like to have an hiddenfield (that is done) with the current item_id (not done).
My form will be integrated in content and data will be saved depending on item_id.
I don't know how to do that.
With user, a simple GetUser() does the trick.
Another problem : throught Chronoforms' link "frontend view"; data are saved. But when I run my form into an article, data are not saved. What happened ?
Could you help me please.
Thank you.
Firstly, thank you for the component.
Secondly : I've a problem with my form.
I would like to have an hiddenfield (that is done) with the current item_id (not done).
My form will be integrated in content and data will be saved depending on item_id.
I don't know how to do that.
With user, a simple GetUser() does the trick.
Another problem : throught Chronoforms' link "frontend view"; data are saved. But when I run my form into an article, data are not saved. What happened ?
Could you help me please.
Thank you.
Hi yaK2manD ,
Where does the current item_id come from? Do you mean the current menu ItemID?
Bob
Where does the current item_id come from? Do you mean the current menu ItemID?
Bob
Nop;
it comes from the article.
I insert a form in an article and I would like to have an hidden field with the article's id
it comes from the article.
I insert a form in an article and I would like to have an hidden field with the article's id
I've made a leap forward :
Now I can save into the database.
I don't know why, but when I used my own table, it did not work. Now when I use a chronoforms table made, it works fine.
Now, the main problem is to get the current article id.
Now I can save into the database.
I don't know why, but when I used my own table, it did not work. Now when I use a chronoforms table made, it works fine.
Now, the main problem is to get the current article id.
Hi yaK2manD,
The table needs a primary key set for the DB Connection to work - maybe your table didn't have one.
Try this to get the article ID
Bob
The table needs a primary key set for the DB Connection to work - maybe your table didn't have one.
Try this to get the article ID
<?php
$id = JRequest::getInt('id', '', 'get');
?>
Bob
This topic is locked and no more replies can be posted.