Created
October 22, 2014 21:00
-
-
Save brianjhanson/f62a0e78e1fa42fbac41 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <?php the_field('partner_id', 'options'); ?> simply returns 100 which is set in a field in the back end. | |
<form class="ibanking-form" name="OAC" action="<?php echo get_field('ibanking_url', 'option'); ?>" method="post" enctype="application/x-www-form-urlencoded"> | |
<input type="hidden" name="id" value="<?php the_field('vendor_id', 'options'); ?>"> | |
<input type="hidden" name="ResetDGM" value="true"> | |
<input type="hidden" name="prodid" value="<?php the_sub_field('apply_product_id'); ?>"> | |
<?php if( get_field('partner_id', 'options') ) : ?> | |
<input type="hidden" name="partid" value="<?php the_field('partner_id', 'options'); ?>"> | |
<?php endif; ?> | |
<a onclick="get_form(this).submit(); return false" class="btn btn--home-apply <?php if(get_sub_field('btn_xlarge')) echo " btn--xlarge "; ?> <?php if(get_sub_field('button_style')) the_sub_field('button_style'); ?> btn--submit <?php if(get_sub_field('no_padding')) echo " btn--submit--no-padding "; ?> ">Apply Now</a> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment