Online Case form sample template (Hiding mandatory fields)

This is a custom template That can be used for creating online case forms in Netsuite. The online case forms can be used to create a new case record in NetSuite from the website. While submitting the form a case record will be created on the NetSuite. In this template, we can see the script… Continue reading Online Case form sample template (Hiding mandatory fields)

Online Case form Template using Bootstrap and validation using DOM

Solution <!DOCTYPE html><Head><meta charset=”utf-8″><Title>Revo Online Case Form</Title><meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <link href=”https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css” rel=”stylesheet”><link rel=”stylesheet” href=”https://fonts.googleapis.com/css?family=Work Sans” type=”text/css”><style>input[type=”text”]{width:67%;font-size:14px;display:block;}.control-label{font-size:13px;display:block;} select { display block;font-size:14px; width:70%;}.btn{font-size:14px;padding:8px;margin-bottom:100px;}textarea{width:67%;height:32px;display:block;font-size:22px;}option { font-size: 14px; font-weight: normal; line-height: 0px;}body{letter-spacing:.07em;font-family:Work Sans;}</style><script type=”text/javascript”>if(performance.getEntriesByType(“navigation”)[0].type == “back_forward”){ location.reload();}function getData(){var title=document.getElementById(‘title’).value;var fname=document.getElementById(‘firstname’).value;var lname=document.getElementById(‘lastname’).value;var email=document.getElementById(’email’).value;var adrs=document.getElementById(‘address1’).value;var state=document.getElementById(‘state’).value;var city=document.getElementById(‘city’).value;var item=document.getElementById(‘custevent_jj_prdt_num_brl_57’).value;var ctgry=document.getElementById(‘category’).value;var msg=document.getElementById(‘incomingmessage’).value;var year=document.getElementById(‘custevent_jj_year_brl_43’).value;var zip=document.getElementById(‘zipcode’).value;var d = new Date(); var n = d.getFullYear();var… Continue reading Online Case form Template using Bootstrap and validation using DOM