replied on January 5, 2021
As a follow up. This is my full Javascript. If I put the text to html code at the top, the web address disappears. When it's at the bottom, it shows up as text and not a link.
$(document).ready( function() {
$('.cf-pagination-tabs li, .cf-next-btn, .cf-prev-btn').click(function(){
$('.btn-wrapper input[type=submit]').removeClass('hidden');
});
$('.cf-pagination-tabs li').eq(0).trigger('click');
});
$(function() {
$(document).ready(function () {
var todaysDate = new Date(); // Gets today's date
// Max date attribute is in "YYYY-MM-DD". Need to format today's date accordingly
var year = todaysDate.getFullYear(); // YYYY
var month = ("0" + (todaysDate.getMonth() + 1)).slice(-2); // MM
var day = ("0" + todaysDate.getDate()).slice(-2); // DD
var minDate = (year +"-"+ month +"-"+ day); // Results in "YYYY-MM-DD" for today's date
// Now to set the max date value for the calendar to be today's date
$('.calendarDate input').attr('max',minDate);
});
});
row.find('.form-del-field').addClass("HideTableDelete");
$(document).on("lookupcomplete",function(){
$('.link [type="text"]').each(function(e,el){
var link=$(el).val();
$(el).replaceWith($('<a href="' + link + '" target="_blank">' + link + '</a>'));
});
});