Clone later form without required asterisk

Co-authored-by: rachidatecs <107004823+rachidatecs@users.noreply.github.com>
This commit is contained in:
Neil MartinsenBurrell 2023-05-12 10:34:56 -05:00 committed by GitHub
parent 2a170e5176
commit 856e2873e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,7 +248,7 @@ function handleValidationClick(e) {
function addForm(e){
e.preventDefault()
let newForm = serverForm[0].cloneNode(true)
let newForm = serverForm[2].cloneNode(true)
let formNumberRegex = RegExp(`form-(\\d){1}-`,'g')
let formLabelRegex = RegExp(`Name server (\\d){1}`, 'g')
let formExampleRegex = RegExp(`ns(\\d){1}`, 'g')