Solved

joomla 1.5 : get form name

Posted on 2010-11-29
4
373 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 25

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 250 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 25

Assisted Solution

by:lenamtl
lenamtl earned 250 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ubuntu 14 server problem with joomla (jbetolo) gzipped files 13 716
Joomla Articles with PDF 2 266
Background image in Joomla template 7 101
Joomla 3.6 background image 5 22
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 …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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