I'm converting an OpenCart template to the ZenCart template scheme. (A pain in the rear, but whatever... I'm almost done.)

I'm having problems with the gv_send.php page. I'm trying to make a CSS "Edit" button since there are no image buttons to use for this template. However, I'm having a hard time to program it without causing the confirm page to always go back to the Edit page even if you hit "Send Gift Certificate" or some other javascript error. I tried to use the zen_draw_hidden_field as well as a hardcoded HTML hidden field and it cause the same to happen. Any help would be appreciated.