Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 How Can I do it ?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

CodeName
Junior Member

296 Posts

Posted - 07 March 2003 :  04:59:01  Show Profile
How can I do it like here ;

http://www.unixcore.org/button.bmp

Its same as here(forum.snitz.com/forum)

puzo
Junior Member

Israel
417 Posts

Posted - 07 March 2003 :  13:10:29  Show Profile  Visit puzo's Homepage
If you had searched before asking like it says on the main page this question could have been avoided, you learn from mistakes, anyway, enjoy:
quote:
Originally posted by FrutZle

Open your inc_code.js and find the function validate()
Add the line in red in the following code at exactly the same place:
function validate(){
	if (document.PostTopic.Subject) {
		if (trim(document.PostTopic.Subject.value)=="") {
			alert("You must enter a Subject")
			return false
		}
	}
	if (document.PostTopic.Message) {
		if (trim(document.PostTopic.Message.value)=="") {
			alert("You must enter a Message")
			return false
		}
	}
	document.PostTopic.Submit.disabled = true
	return true
}




Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 07 March 2003 :  13:16:59  Show Profile
Well I tryed to search but I think I searched with wrong keyword :D

Anyway Thanks!
Go to Top of Page

puzo
Junior Member

Israel
417 Posts

Posted - 07 March 2003 :  13:25:31  Show Profile  Visit puzo's Homepage
You're welcome, very neat function to disable double posting



Edited by - puzo on 07 March 2003 13:25:45
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.71 seconds. Powered By: Snitz Forums 2000 Version 3.4.07