Forums

How Can I fill a field since URL?

christianmls 15 Sep, 2010
Hi,

I need fill a field since URL.

For example:

example.com/index.php?option=com_chronocontact&chronoformname=frmName&FieldName=HOLA


In the frontpage.

FieldName=HOLA
GreyHead 15 Sep, 2010
Hi christianmls,

Try
<?php
if ( !$mainframe->isSite() ) { return; }
$FieldName = JRequest::getString('FieldName', '', 'get');
?>
<input type='hidden', name='FieldName' id='FieldName' value='<?php echo $FieldName; ?>' />


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