최근 검색
최근 검색 없음

Dave Potts
가입한 날짜: 2023년 1월 25일
·
마지막 활동: 2023년 1월 31일
팔로잉
0
팔로워
0
총 활동 수
6
투표
1
플랜 수
2
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Dave Potts
Dave Potts님이 에 댓글을 입력함
Does setting up multiple Brands allow you to change Zendesk app settings for that Brand?
We want to connect multiple M2 installations to Zendesk, but the M2 connector app in Zendesk only allows one set of API keys.
Being able to change the settings in the app on a 'per brand' basis would facilitate this.
Also, can you have different Zendesk apps installed per Brand?
댓글 보기 · 2023년 1월 31일에 게시됨 · Dave Potts
0
팔로워
0
투표 수
0
댓글
Dave Potts님이 에 댓글을 입력함
Many thanks Ifra!
That works much better than using ticket form numbers.
I see that this works because when the form id gets removed during the warning message refresh, the previously selected ticket name is still selected, so we use that as the hook and not the ticket id.
Here is my working code that allows you to change the '(optional)' label text on the attachment upload area to something else:
jQuery( document ).ready(function() {
if($("#new_request a.nesty-input").is(':contains("Register my Product")')){
$('.form-field label:contains("Attachments") span.optional').empty(); // Remove (optional) label for Attachments
$('.form-field label:contains("Attachments") span.optional').append("- *Please upload a copy of your order receipt. Thank you."); //Set new label
}
});
Is there a way to change an input field from optional to required? I was able to change the optional/required class names of input fields, but you don't get the warning messages if the fields are empty at time of submitting. What would be the code to setup a custom validator on a field, to check it is filled in and return a custom message if it isn't filled in?
댓글 보기 · 2023년 1월 25일에 편집됨 · Dave Potts
0
팔로워
0
투표 수
0
댓글
Dave Potts님이 에 댓글을 입력함
All these tweaks are fine, except for the fact that if the customer forgets to fill in a mandatory field, the page resets to load the warning messages and you lose the ticket id in the url, rendering your custom script useless when trying to customise a specific ticket form ID.
Does anyone have a fix for this?
댓글 보기 · 2023년 1월 25일에 편집됨 · Dave Potts
0
팔로워
0
투표 수
0
댓글