PDA

View Full Version : Keywords mandatory instead of optional, any ideas?


rbl
June 28th, 2004, 09:45 AM
Hi!
Any advice on making keywords mandatory?
I would like to prevent submissions without at least three keywords.

Ricardo

Bryan Ex
June 28th, 2004, 12:22 PM
It could be done with a small java script but not sure if you could specify a required three words or not.

rbl
June 28th, 2004, 04:12 PM
Thanks Brian!! =)
Humm.. do you know any javacript that does this without needing to change the input's name?
I only know this one
http://javascriptkit.com/script/script2/formrequired.shtml
but it requires you to use it like this:
<input type="text" name="requiredname">

Bryan Ex
June 28th, 2004, 04:28 PM
I "think" the current classifieds may use a similar script for one or more of the text fields but may be wrong on that. The closest I've come myself is a required checkbox to confirm reading my photo guidelines;

http://www.photopostdev.com/showthread.php?t=618&highlight=guidelines

rbl
June 28th, 2004, 06:28 PM
I made a neat javascrit that checks if the title and description are filed and also if the user wrote at least 3 keywords =)

Thanks Brian!

Bryan Ex
June 28th, 2004, 06:32 PM
Cool! ... but I didn't help much (not a bad cheerleader though...lol)