NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ajosuna on December 14, 2009, 05:04:45 PM

Title: CC Processing
Post by: ajosuna on December 14, 2009, 05:04:45 PM
Hi:

I like to disable the submit(save) button while a CC is being processed. How can I disable this button at runtime?

Regards

Anthony.
Title: Re: CC Processing
Post by: kevin plummer on December 15, 2009, 06:08:55 AM
Try to uncheck having a save button and then add your own save button - you should then be able to then hide the button. Also, Bruce posted a technique he uses with CC processing which actually may be the best approach - try to search the NG on Credit Card.

Kev
Title: Re: CC Processing
Post by: ajosuna on December 15, 2009, 11:14:03 AM
Hi Kevin:

I searched for Credit Card and couldn't find anyting related to this question. I guess a progress bar or just please wait window would also work. The delay can cause duplicate orders. A quick fix should be just to disable the button.

Regards

Antony.
Title: Re: CC Processing
Post by: kevin plummer on December 15, 2009, 02:17:54 PM
Try this

http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=1212.0

Title: Re: CC Processing
Post by: Bruce on December 16, 2009, 12:21:44 AM
Hi Anthony,

Std behaviour for (NetTalk) Save and Cancel buttons is to disable themselves after they've been pressed.
Actually a lot of the NetTalk buttons do this.

So there should be no problem with a user pressing a button twice while the backend is busy.

cheers
Bruce


Title: Re: CC Processing
Post by: Bruce on December 16, 2009, 04:54:42 AM
the target for the form should be empty ('') or '_self'

Cheers
Bruce
Title: Re: CC Processing
Post by: ajosuna on December 16, 2009, 02:05:48 PM
Hi Bruce:

Changing the target to _self did the trick.

Thanks

Anthony