Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Rudolf Baláš
  2. Form2Content Lite & Pro
  3. Sunday, 04 April 2021
  4.  Subscribe via email
Hi Patrick,


I need get value for my filed in form and check in function in my own module bottom the article.

Ok, what I know?

I know only current joomla article ID, Form ID, field ID.

How can I get Form2Content article ID from current Joomla article ID in PHP in my own module?
Responses (1)
Accepted Answer Pending Moderation
$articleid = JRequest::getInt( 'id' );// current article ID, where we want assign module

$db = JFactory::getDBO();
$query = "SELECT id FROM #__f2c_form WHERE reference_id = '.(int) $articleid.' LIMIT 1";
$db->setQuery( $query );
return $db->loadResult();
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.