I am looking to place a link on a Laserfiche Form that will dynamically change based on another field value. Here is the scenario - A user opens an application, and chooses a Position from a drop-down list, which populates a number of other fields via Lookup. One field populates with an EntryID value that I would like to pass to a weblink URL. I attempted to use the code found [Here], but was unable to make it work for my scenario. Below is a picture of my form, followed by the code I am starting with, but cannot get to work properly. As you can see, the field 'Job Description' holds the EntryID, that I would like to append to the end of my weblink URL housed in the 'Job Description' link.
Code:
$(document).ready(function(){ $('#Field27').blur(function(){ //This is the Position Applying For field because this will trigger the 'Job Description' Input field to change var baseURL = $('#Field34'); //This is the ID of the HTML field var doc_id = $('#q35 input').val() ; //This is the Job Description Input that changes with the Position Applying For doc_id.appendTo(baseURL); }); })
The result I'm looking for is: http://serverurl/weblink8/Browse.aspx?dbid=0&startid=DOC_ID but want it to appear as a link with 'Job Description' as the verbiage.
Any help is much appreciated!
Nate