Print Page | Close Window

[Tab] to Post New Topic

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=5650
Printed Date: 03 April 2026 at 5:17am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: [Tab] to Post New Topic
Posted By: futurefiles
Subject: [Tab] to Post New Topic
Date Posted: 10 September 2003 at 7:17am

is there anyway to make the tab button go straight to the post new topic button?.

i.e. after you have written your new topic when you press tab it goes straight to the tick box i would like it to go to the post new topic button.

if anyone knows if this is possible please reply

Many Thanks

Rob.




Replies:
Posted By: dead_angel
Date Posted: 10 September 2003 at 7:21am
isn't it a generic internet explorer thing? just press tab a couple of times, it's just as easy


Posted By: WebWiz-Bruce
Date Posted: 10 September 2003 at 8:53am

You can change how which form element is next by placing into the tag:-

tabindex="30"

Change the number for which input element you want in which order.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: futurefiles
Date Posted: 10 September 2003 at 9:25am

is this what you mean? and what value should i give it?

this is from the IE_message_form_inc.asp

<%
        
'Select the correct button for the page
If strMode="edit" OR strMode = "editTopic" Then

 Response.Write("      &n bsp;   <input type=""submit"" name=""Submit"" value=""" & strTxtUpdatePost & """ OnClick=""document.frmAddMessage.message.value = frames.message.document.body.innerHTML;"" tabindex=""30"" />")

ElseIf strMode = "new" OR strMode = "poll" Then

 Response.Write("      &n bsp;   <input type=""submit"" name=""Submit"" value=""" & strTxtNewTopic & """ OnClick=""document.frmAddMessage.message.value = frames.message.document.body.innerHTML;"" tabindex=""30"" />")

ElseIf strMode = "PM" Then

 Response.Write("      &n bsp;   <input type=""submit"" name=""Submit"" value=""" & strTxtPostMessage & """ OnClick=""document.frmAddMessage.message.value = frames.message.document.body.innerHTML;"" tabindex=""30"" />")
Else

 Response.Write("      &n bsp;   <input type=""submit"" name=""Submit"" value=""" & strTxtPostReply & """ OnClick=""document.frmAddMessage.message.value = frames.message.document.body.innerHTML;"" tabindex=""30"" />")
End If
                              %>

Thanks



Posted By: WebWiz-Bruce
Date Posted: 10 September 2003 at 9:50am
You give the HTML form elements tab indexes, for example give the first form element a tab index of 1 the next 2, etc. etc. that way when you hit tab it will move through the form elements in the order you set the tab index.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: futurefiles
Date Posted: 10 September 2003 at 10:14am

Nice thank you very much.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net