The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
:?: Required Information Field
Author Message
Reply with quote
Post :?: Required Information Field 
Hi folks,

I was wondering how I make certain fields in the order form "required information" (such as name, phone, etc ..) and have others not be required (such as e-mail addy, etc) ...

Thanks! Smile

*Smile*
Chris

View user's profile Send private message
Reply with quote
Post  
Chris you would need to edit the required fields array in the <gateway>-order_lib.pl file in the library directory of the store.

HTH!~


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post RE: Offline-order_lib.pl 
hell-o
assuming you're using the offline gateway go to the store/library/Offline-order_lib.pl
take a look at this sub...
sub Offline_fields

there are two basic parts to the fields. the top
%sc_order_form_array
has all the stuff in the gateway
the second part
@sc_order_form_required_fields =
declares what stuff in the first part need to be required to continue to step two.
there's more stuff you can do with this but that is where the required fields are configured.
regards,
dan

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum