I have seen another post where you can automatically click the submit button for a form. But, I would like to automatically click the 'edit' link in a details view.
Full confession; I am not that good with JS
$(document).on('knack-scene-render.scene_645', function(event, scene) {
$('.kn-link-page').trigger('click');
});
That is so beautiful Kelson!!!! It works great!!
Thank you so very much!
Have a great day!
Bob
Kelson
September 10, 2020, 8:05pm
3
Hi Bob, Replace the trigger with the script posted below. Make sure you replace the text "Edit" with the exact label for your link (it is case sensitive) Knack.$('div.kn-details-link a:contains("Edit") span').click() Best Regards, Kelson Erwin Full-Time Knack Builderkelson@ksensetech.com http://www.ksensetech.com/knack/