Submit button

Does anyone know some code to hide the submit button on a specific form? My use case is a multi-step form using menu tabs as the steps instead of submitting to an edit page. Thanks!

Hi Gary,

One way to do this is to move it away from the screen, just like Knack does it often setting the position at x = -9000px.

For a few examples, see this function called hideSelector (search for hideSelector: function) in the KTL.js file.

You can also do this manually like this:

$('#viewKey .is-primary').css({ 'display': 'none' }); //Hide Submit button
$('#viewKey form').submit(); //To submit programmatically

Cheers,
Normand D.
Knack-Toolkit-Library

Thank you so much!!