Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Submitting an IE form using a smarty template

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
ajw4sk
Smarty n00b


Joined: 23 May 2016
Posts: 1

PostPosted: Mon May 23, 2016 4:54 pm    Post subject: Submitting an IE form using a smarty template Reply with quote

Hey there,

I'm working with a un & pw login form, using a smarty template, and the form will not submit when pressing enter (for internet explorer). I've tried a few of the available solutions online, but they haven't worked. For example $.browser is deprecated. I was wondering if anyone has come across this while using a smarty template, and how they solved it. I have been able to detect the browser using this:{if stristr($smarty.server.HTTP_USER_AGENT,'MSIE')} {/if} also using rv instead of msie, but then what?

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP