I would like to add a link to the GSA website for referencing per diem rates on our travel expense form. Can this be done? If so, how? Our forms are only available within our firewalls, does this hinder this function?
Question
Question
Answer
You can use a custom HTML field in your form to create a link to the website. See this page for more information.
Would there be anyway to make the link in the custom HTML be dynamic based on values filled into the form?
Can you provide more details as to exactly what you're trying to accomplish? What type of form field are you going to be using? Do you mean that you want to take a value entered into a form field and append that to the URL as a type of parameter?
www.mysite.com/index.aspx?id=[form_value]
yes, creating a link using variable values from the form currently being filled in.
http://www.mysite.com/form.aspx?id={/dataset/Microfilm_Number___Recording_Number}
the dataset value is always being blank however.
It works just fine when I have that link in the thankyou page however.
Give your input field a CSS class name like microfilmnumber. Then add a custom HTML field like
<a href="" target="_blank">Click Here</a>
and use JavaScript like
$(document).ready(function () { $('.microfilmnumber input').on('change', function() { $('a').attr('href', "http://www.mysite.com/form.aspx?id=" + $(this).val()); }); });
I think that will do what I need, thanks!