Auto load Article Title to a Texs Box in field default value

belakangmeja 27 Mar, 2016
Chronoform V4, I use this code for auto load "Article Title" to a Texs Box in form on "Field Default Value".
<?php 
$option = JRequest::getVar('option');
$view   = JRequest::getVar('view');
if ( $option == 'com_content' && $view == 'article' ) {
  $id = JRequest::getInt('id');
  $article =& JTable::getInstance('content');
  $article->load($id);
  $article_title = $article->get('title');
}
echo $article_title;
?>


Please make new code for Chronoform v5 for Joomla 3.4 and 3.5

Thank you very much.
GreyHead 27 Mar, 2016
Hi belakangmeja,

Please see this FAQ and try the code there.

Bob
This topic is locked and no more replies can be posted.