add input email verification
This commit is contained in:
parent
407c4378bd
commit
51d9507b5a
@ -68,3 +68,23 @@ function toggleKonfirPinVisibility() {
|
|||||||
/******************************************
|
/******************************************
|
||||||
* END HIDE & SEE PASSWORD PIN DAN KONFIR PIN
|
* END HIDE & SEE PASSWORD PIN DAN KONFIR PIN
|
||||||
******************************************/
|
******************************************/
|
||||||
|
|
||||||
|
/******************************************
|
||||||
|
* SHOW HIDE INPUT EMAIL VERIFICATION
|
||||||
|
******************************************/
|
||||||
|
function showVerifikasiEmailInput() {
|
||||||
|
const verifikasiemailInput = document.getElementById('verfikasiEmailInput');
|
||||||
|
const verifikasiEmailButton = document.getElementById('verifikasiEmailBtn');
|
||||||
|
|
||||||
|
// Toggle visibility of the email input container
|
||||||
|
if (verifikasiemailInput.style.display === 'none' || verifikasiemailInput.style.display === '') {
|
||||||
|
verifikasiemailInput.style.display = 'flex';
|
||||||
|
verifikasiEmailButton.textContent = 'Sembunyikan';
|
||||||
|
} else {
|
||||||
|
verifikasiemailInput.style.display = 'none';
|
||||||
|
verifikasiEmailButton.textContent = 'Verifikasi Email';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/******************************************
|
||||||
|
* END SHOW HIDE INPUT EMAIL VERIFICATION
|
||||||
|
******************************************/
|
||||||
|
@ -359,21 +359,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
|
||||||
function showVerifikasiEmailInput() {
|
|
||||||
const verifikasiemailInput = document.getElementById('verfikasiEmailInput');
|
|
||||||
const verifikasiEmailButton = document.getElementById('verifikasiEmailBtn');
|
|
||||||
|
|
||||||
// Toggle visibility of the email input container
|
|
||||||
if (verifikasiemailInput.style.display === 'none' || verifikasiemailInput.style.display === '') {
|
|
||||||
verifikasiemailInput.style.display = 'flex';
|
|
||||||
verifikasiEmailButton.textContent = 'Sembunyikan';
|
|
||||||
} else {
|
|
||||||
verifikasiemailInput.style.display = 'none';
|
|
||||||
verifikasiEmailButton.textContent = 'Verifikasi Email';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"
|
||||||
integrity="sha512-aVKKRRi/Q/YV+4mjoKBsE4x3H+BkegoM/em46NNlCqNTmUYADjBbeNefNxYV7giUp0VxICtqdrbqU7iVaeZNXA=="
|
integrity="sha512-aVKKRRi/Q/YV+4mjoKBsE4x3H+BkegoM/em46NNlCqNTmUYADjBbeNefNxYV7giUp0VxICtqdrbqU7iVaeZNXA=="
|
||||||
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user