I tried adding hyperlinks in GF forms and it just prints the html tag. Is there a way I can apply hyperlinks to descriptions and labels within the form?
I tried adding hyperlinks in GF forms and it just prints the html tag. Is there a way I can apply hyperlinks to descriptions and labels within the form?
HTML isn't currently allowed in the labels, but you can add them with some jQuery as in the following example.
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
$(".gchoice_5_1 label").html('I have read and agree to the <a href="http://www.google.com/accounts/TOS" name="terms" target="_blank">terms and conditions</a>');
});
</script>
just replace the "gchoice_5_1" with the actual ID from your form
Kevin, thank you! That works.