Hello,
This should be definitely possible but using jQuery! Consider following the Steps below:
Add the .value-setter Class to the <a> Tag.
Add the data-value="Your Value" Attribute instead of using the value Attribute since and then use the data-target="#template-contactform-subjecte" Attribute instead of using the href Attribute.
Then add the following JS Code at the bottom of the Page just after the js/functions.js JS File Linking:
jQuery(document).ready( function(){
jQuery('.value-setter').on( 'click', function(){
var element = jQuery(this);
jQuery( element.attr('data-target') ).val( element.attr('data-value') )
return false;
});
});
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.