Is there any way that I can get Article Title on input text field? I want the article title automatically inserted into input field upon loading the Chronoform module.
Thank you!
Thank you!
<?php
$article_title = '';
$id = \JRequest::getInt('id', '');
$article = \JTable::getInstance('content');
$article->load($id);
$form->data['article_title'] = $article->get('title');
?>
Then give your input the name article_title.