This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remove name and OnSubmit in s:form tag

 
Mike Nason
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are doing a we site for mobile devices and when using s:form it includes name="sendMail" onsubmit="return true;" attributes there.

We don't need these, how can I turn rendering these tags off?

We use <s:form action="sendMail" method="get" theme="simple" namespace="/">
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change the template, if it's *really* important, but I don't know why it would be.

Personally, if I were doing a mobile version of a site I'd create a mobile theme.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic