?
Solved

joomla 1.5 : get form name

Posted on 2010-11-29
4
Medium Priority
?
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 26

Expert Comment

by:lenamtl
ID: 34229579
Hi,

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

Author Comment

by:bcv2010
ID: 34229723
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 500 total points
ID: 36542944
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 26

Assisted Solution

by:lenamtl
lenamtl earned 500 total points
ID: 36546761
// 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi here...it's my …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 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