PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB20] HTML Control - php page
[WB20] HTML Control - php page
Iniciado por guest, 20,oct. 2015 02:05 - 1 respuesta
Publicado el 20,octubre 2015 - 02:05
Hi Guys,

I am trying to put 2 html controls on a php page. I want to be able to select 2 methods of payment (Worldpay or Paypal).

I can create both buttons BUT only one works on the page. If I run the code for either button, it works properly. If I run both procedures, it appears that the second procedure over writes the click procedure for the first.

I have created and defined seperately -
html_paypal
cmd_paypal
iframe_paypal
proc_stringdisplay_paypal

html_Worldpay
cmd_Worldpay
iframe_Worldpay
proc_stringdisplay_Worldpay

My question is -
Am I doing something wrong or can you only have 1 html control per page.

TIA

Mike
Publicado el 20,octubre 2015 - 10:28
Hi Guys,

Simple when you know how !!!! Actually a bit of trial and error.

Create a cell and put each set in the cell (html_paypal, cmd_paypal, iframe_paypal).

Call each local procedure to create the links to each set.

All works brilliantly,

Regards,

Mike