PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old December 15th, 2004, 05:31 PM   #1 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
How do I make some fields mandatory?

I would like to make some fields like title, description and keywords mandatory.
I could use javascript for that but since vB has most likely a function just to check for empty fields, I would prefer to not pollute the code.
If anyone knows how can this be achieved I would appreciate any help!

Thanks =)
Ricardo
rbl is offline   Reply With Quote
Old December 16th, 2004, 09:40 AM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: How do I make some fields mandatory?

In your upload.php file look for:
Code:
Content visible to verified customers only.
Right above that add:
Code:
Content visible to verified customers only.
  Reply With Quote
Old December 16th, 2004, 09:58 AM   #3 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: How do I make some fields mandatory?

Works great! Thanks! =)
Btw, there's a ) missing in the end of the eval line.
rbl is offline   Reply With Quote
Old December 16th, 2004, 10:24 AM   #4 (permalink)
Brian
Guest
 
Posts: n/a
Re: How do I make some fields mandatory?

Whoops, thanks for pointing that out. Just updated the post.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help! cannot make it work with Mambo batmon Photopost Pro Installation & Upgrades 11 August 28th, 2005 12:42 PM
How can I make the extra fields, in the categories, searchable? garybrun Photopost Pro How Do I...? 0 June 17th, 2005 04:52 PM
Keywords mandatory instead of optional, any ideas? rbl General Discussion 5 June 28th, 2004 06:32 PM


All times are GMT -5. The time now is 01:33 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0