In the CGFeedback form I created 2 extra field: one in which the visitor can fill in in which country he/she is living and one in which they can fill in their own website. Now I would like to make the website appear as a link. For this I changed the CGFeedback form-template:
Code: Select all
{if isset($one.fields)}
{foreach from=$one.fields key='name' item='field'}
{if $name == "Website" }
<div class="feedback_item_field">
Website: <a href="{$field.value}">{$field.value}</a>
</div>
{if $name == "Country" }
<div class="feedback_item_field">
Country: {$field.value}
</div>
{/if}
{/foreach}
{/if}
Does someone have a solution for this?