Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 10:33 PM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
xhtml compliance and Forms (solution found)
-
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 98
In the application I am working on I use forms alot to pass args to the recieving pages. This is a problem when I have more then one form on a page that does this. Everything that I have found says that XHTML doesn't support the name attribute on a form. Does anyone have a suggestion on how to handle this? -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
I assume that your using the name field combined with some javascript? If so you'll have to rewrite the javascript to use getElementByID then use the id parameter on your forms/form components.
-Mark
--
Visit My homepage and Zikula themes. -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
Not 100% sure... my javascript isn't great. At this point google is your friend.
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 98
Just for sake of anyone else looking for this solution the correct syntax is.
Code
<form action="<!--[pnmodurl modname="modname" type="user" func="function"]-->" method="post" id="form_id">
<a href="#"onclick="document.getElementById('form_id').submit();return false;" title="<!--[pnml name="_VIEWALLYOURTICKETS"]-->" />
- Moderated by:
- Support
