Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Value of the button does not pass to .PHP file

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-31-2006, 02:10 PM
 
jdedba jdedba is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 96
 

Default Value of the button does not pass to .PHP file

Hi,

In my own .tpl file I have two buttons: one for preview, one for submit:

Code:
<form .... "POST"> <INPUT TYPE=TEXT name=msg> <INPUT id=button1 type=submit value="Preview" name=preview> <INPUT id=button2 type=submit value="Submit" name=submit> </form>

But after one of the buttons is clicked, none of value "Preview" or "Submit" is passed back to my .php file if the X-cart's auth.php is included in the .php file. Does anyone know how to fix the problem??

Thanks a lot.

Jeff
__________________
version 4.1.1
Reply With Quote
  #2  
Old 03-31-2006, 02:12 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

X-carts auth.php cleans out any non x-cart variables passed through to it as a security measure.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:13 PM.

   

 
X-Cart forums © 2001-2020