PDA

View Full Version : update / add buttons in customer screen


Scot - ScotsScripts.com
05-30-06, 09:37 PM
Hi,

I'm using the vis_cust feature in a module. When I edit a customer and go into "my" tab screen, everything is fine.

I have some links for various functions and when I click on the link, the screen comes up fine, but the "update" button turns into an "add" button (as well as getting the add+ button).

What's going on? What variable do I need to add to keep the "update" button there instead of the add? I can simply manually put an "update" button in, but would rather not.

Thanks,

Scot

Scot - ScotsScripts.com
05-30-06, 10:38 PM
Ok, finally figured it out.

The g.edit_customer variable must be included in anything you do in the customer area if you want the "update" button to stay. Otherwise the "add" series of buttons replaces it.