Jump to content

Add Custom Fields - PHP - Joomla 2.5


hpeter

Recommended Posts

Hi,

 

I am using Joomla 2.5.

 

I have added 2 field in a form called forward, e.g

 

yourname: ????

your email address: ????

 

Name: of your friend

Email: of your friend

 

The code is as follows;

 

<tr>

<td>

<label for="fforwardname"><?php echo JText::_('JOOMEXT_FNAME'); ?></label>

</td>

<td>

<input id="fforwardname" type="text" class="inputbox required" name="name" value="" size="20"/>

</td>

</tr>

 

<tr>

<td>

<label for="fforwardemail"><?php echo JText::_('JOOMEXT_FEMAIL'); ?></label>

</td>

<td>

<input id="fforwardemail" type="text" class="inputbox required" name="email" value="" size="20"/>

</td>

</tr>

 

I have copied the code and successfully create the fields though but I am confused about the value of "lable" and "input Id". Are these dynamic variables?

 

where are those defined ?

Do I have to go in some other file and and redefined these?

 

 

Your help will be so appreciated. The link is as follows;

 

http://216.8.150.229/morningfunny/index.php?option=com_acymailing&ctrl=archive&task=forward&mailid=10&key=7e3f1948ce45efd9221523f893cc65f1&subid=1-535a198e080a484f9d7380f0afe42ce9&tmpl=component&Itemid=448

 

Best Regards,

post-135430-13482403635085_thumb.png

Link to comment
https://forums.phpfreaks.com/topic/266179-add-custom-fields-php-joomla-25/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.