Escape key to cancel
-
Various dialog boxes in this world have a Cancel button. In 99.9% of them, I can hit the Escape key to activate the Cancel function without having to move a hand from keyboard to mouse and back.
The AppColl user interface has various dialog boxes with a Cancel button. None of them respond to the Escape key. I would love it if the Escape key would cancel dialog boxes in AppColl.
-
Thanks! That is great.
-
Awesome! Thanks you.
-
@JonahP1621 We have implemented the Escape to cancel feature Any time a popup appears, you can click the Escape key to close the popup. We hope this helps.
-
This post is deleted! -
The priority of this request has been elevated. We will let you know when this has been implemented.
-
An example dialog box is rendered with this HTML.
<td class="TaskDialogData" colspan="2" id="SingleTaskCompleteFooter">
<input type="submit" name="ctl00$ModalPopupContent$SingleTaskCompleteOk" value="Set Status" onclick="isPostBack=true;SaveHidden(NoChangePostBackHiddenID, '1'); if (Page_ClientValidate('SingleTaskCompleteValidators')) $find('SingleTaskCompletePopup').hide();WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ModalPopupContent$SingleTaskCompleteOk", "", true, "SingleTaskCompleteValidators", "", false, false))" id="ctl00_ModalPopupContent_SingleTaskCompleteOk" style="width:8em;" />
<input type="submit" name="ctl00$ModalPopupContent$SingleTaskCompleteCancel" value="Cancel" onclick="ResetValidators();ClearTaskStatusBox();$find('SingleTaskCompletePopup').hide(); return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ModalPopupContent$SingleTaskCompleteCancel", "", true, "", "", false, false))" id="ctl00_ModalPopupContent_SingleTaskCompleteCancel" style="width:8em;" />
</td>I think that if you added to the value="Cancel" line an onkeyup (not onkeypress, which ignores ESC) parameter with essentially the same code as you have for the onclick but put within if ( event.keyCode == 27 ) {...} then it might just work.
-
@jonah-soundhound-com bump, +1 for this request please
-
@jonah-soundhound-com Thank you for the request. This is a great idea. We have submitted this to engineering as a formal feature request. While we don't have an ETA, we will make this known to all customers once implemented.
-
@jonah-soundhound-com I second your request. An example I experience often is when the calendar function is activated for a task or any other date field and AppColl requires the date to be selected and the Escape key function does not respond.