• Online Demo
  • 30-day Free Trial
  #1  
Old 05-10-2009, 04:13 AM
davidolaj davidolaj is offline
Member
 
Join Date: Apr 2009
Posts: 61
Default Lead Signup Form

I want a lead signup to my Blesta system without buy/order any products/services.

How can go about this please?
__________________
B.R,
David.
Reply With Quote
  #2  
Old 05-10-2009, 05:07 PM
Cody's Avatar
Cody Cody is offline
Blesta Developer
 
Join Date: Apr 2006
Location: Tustin, CA
Posts: 632
Default

You can do this using the API. The specific API call you're looking for is createacct.

All you have to do is create a PHP page that requests data from a user and makes a post request to Blesta in the method and manner described on the API page with the data required for a createacct action.

A sample for this can be found in /api_samples/createacct.php.
__________________
Cody
Lead Developer

Blesta
Professional Billing
www.blesta.com
Reply With Quote
  #3  
Old 05-10-2009, 10:36 PM
davidolaj davidolaj is offline
Member
 
Join Date: Apr 2009
Posts: 61
Default

Thank you for your help.

Please I'm not too good in PHP but I can try. Should I just copy the "Input code" to create createacct.php as API ?

And what about the second code (Returns)? Should I also copy and create another file as return.php ?

If yes, how can the createacct.php return to the return.php when client information submitted on the createacct.php ?
__________________
B.R,
David.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Invoices on order form naja7host API & Order Forms 1 01-01-2010 10:05 PM
API Order Form davidolaj General Discussion 3 05-08-2009 03:11 PM
Integrated order form suggestions FB-Ryan Feature Requests 7 04-12-2009 06:35 PM
Order Form - Again naja7host API & Order Forms 4 12-20-2008 12:33 PM
Configuring Your Order Form (version 1.1.0-1.3.3) Cody API & Order Forms 2 09-13-2007 07:17 PM


All times are GMT. The time now is 02:03 PM.