Solved

joomla 1.5 : get form name

Posted on 2010-11-29
4
333 Views
Last Modified: 2012-08-01
hi, can i know how to get a form name in Joomla 1.5 ?
0
Comment
Question by:bcv2010
  • 2
4 Comments
 
LVL 24

Expert Comment

by:lenamtl
Comment Utility
Hi,

I'm not sure what you are looking for, could you elaborate your needs?
0
 

Author Comment

by:bcv2010
Comment Utility
i am looking for Joomla code that could get the name of the form on the page , posibly JForm:getformname ? or may be some other method but it is to be for Joomla 1.5
0
 
LVL 4

Accepted Solution

by:
h4hardy earned 250 total points
Comment Utility
hi,

you can try with the below code or also try with the javascript to get the form name..

  $f = jForms::create("myapp~contact");
        $view->body->assign('form', $f );

Open in new window

0
 
LVL 24

Assisted Solution

by:lenamtl
lenamtl earned 250 total points
Comment Utility
// get the JForm object
$form = &JForm::getInstance('myform', $pathToMyXMLFile);

Check this tutorial this may help
http://www.howtojoomla.net/how-tos/development/getting-started-with-jform
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Here is a tutorial for making your own Joomla templates. Note before reading, you should have some existing knowledge of web development using HTML and CSS. Design Layout: Design your template in a graphics program like Adobe PhotoShop or Corel…
Have you ever wanted to use that sweet jQuery gallery plugin on your Joomla site but couldn't get it working due to jQuery conflicts or your lack of knowledge about what's under the Joomla hood? This article will step you through the process of impl…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now