Hi Boris,
Can you screenshot your Process Diagram and the User Task please? I think this should be automatically grayed out by default until the task is assigned to an individual.
Since the fields are most likely grayed out until the form is assigned, you can setup a javascript that will hide both buttons until one of the fields on your form is clicked on or changed - that would be the simplest solution.
I use this script in a lot of my forms that deal with Approve/Reject buttons because I have a "check" field that is a dropdown that asks if the form should be Approved or Rejected. Based on the answer it will either show or hide the appropriate button. In your case you will want to also insert
$(".action-btn.Reject").hide();
$(".action-btn.Approve").hide();
right after the 1st line of code which means that both buttons will be hidden until the "check" is changed.
$(document).ready(function () {
$("#q14").on("change", function() { //when the field with the id q14 changes
var check = $("#Field14").val(); //I called the variable "check"
if(check == "App") { //if the "check" dropdown has value of "App" which is approve
$(".action-btn.Reject").hide(); //hide the Reject button
$(".action-btn.Approve").show(); //show the Approve button
}
if(check == "Rej") {
$(".action-btn.Approve").hide();
$(".action-btn.Reject").show();
}
});
});
Let me know if you have any questions!