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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.