Support Forums

Removing validation on 'price'

This is a discussion on Removing validation on 'price' within the Customizations forums, part of the Developer Forums category; Hi all - I want to be able to let users create ads that don't have a price. Which file ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

Reply
 
Thread Tools Display Modes
Old 04-26-2010, 10:59 PM   #1
Customer
 
Join Date: Mar 2008
Posts: 9
Rep Power: 0
joseph is on a distinguished road
Default Removing validation on 'price'

Hi all - I want to be able to let users create ads that don't have a price. Which file contains the validation?

Thanks in advance for any help!
Joseph
joseph is offline   Reply With Quote
Old 04-27-2010, 08:19 AM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Just simply don't require the price field through your administration.

Administration/Settings/Settings/Checkout Settings
"Allow Price Field" Yes Required: NO
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 04-27-2010, 02:21 PM   #3
Customer
 
Join Date: Mar 2008
Posts: 9
Rep Power: 0
joseph is on a distinguished road
Default

Thanks!
How can I remove the validation on the content of the field, so that it is OK with alphanumeric input?

Cheers - I really appreciate it
Joseph
joseph is offline   Reply With Quote
Old 04-27-2010, 03:03 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You would need to use extra fields and remove the default price. The database has it stored as a number.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Username Validation bowers01 Technical Support 1 02-15-2010 08:12 AM
Removing validation conditions industrialpost Technical Support 5 06-15-2009 10:08 AM
Php help removing price please Tim_A Technical Support 6 06-08-2007 08:59 AM


All times are GMT -4. The time now is 08:35 AM.


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