diff --git a/about.php b/DemoSite/about.php similarity index 100% rename from about.php rename to DemoSite/about.php diff --git a/data/request-body.xml b/DemoSite/data/request-body.xml similarity index 100% rename from data/request-body.xml rename to DemoSite/data/request-body.xml diff --git a/functions.php b/DemoSite/functions.php similarity index 100% rename from functions.php rename to DemoSite/functions.php diff --git a/images/ui/logos/snapdragon.png b/DemoSite/images/ui/logos/snapdragon.png old mode 100755 new mode 100644 similarity index 100% rename from images/ui/logos/snapdragon.png rename to DemoSite/images/ui/logos/snapdragon.png diff --git a/images/ui/logos/snapdragon_small.png b/DemoSite/images/ui/logos/snapdragon_small.png old mode 100755 new mode 100644 similarity index 100% rename from images/ui/logos/snapdragon_small.png rename to DemoSite/images/ui/logos/snapdragon_small.png diff --git a/index.php b/DemoSite/index.php similarity index 100% rename from index.php rename to DemoSite/index.php diff --git a/javascript/bootstrap-datepicker.min.js b/DemoSite/javascript/bootstrap-datepicker.min.js similarity index 100% rename from javascript/bootstrap-datepicker.min.js rename to DemoSite/javascript/bootstrap-datepicker.min.js diff --git a/javascript/demo.js b/DemoSite/javascript/demo.js similarity index 100% rename from javascript/demo.js rename to DemoSite/javascript/demo.js diff --git a/not-used/agent-details.php b/DemoSite/not-used/agent-details.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/agent-details.php rename to DemoSite/not-used/agent-details.php diff --git a/not-used/agent-noauth.php b/DemoSite/not-used/agent-noauth.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/agent-noauth.php rename to DemoSite/not-used/agent-noauth.php diff --git a/not-used/agent-register.php b/DemoSite/not-used/agent-register.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/agent-register.php rename to DemoSite/not-used/agent-register.php diff --git a/not-used/agent-requested.php b/DemoSite/not-used/agent-requested.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/agent-requested.php rename to DemoSite/not-used/agent-requested.php diff --git a/not-used/choose.php b/DemoSite/not-used/choose.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/choose.php rename to DemoSite/not-used/choose.php diff --git a/not-used/client-and-inception.php b/DemoSite/not-used/client-and-inception.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/client-and-inception.php rename to DemoSite/not-used/client-and-inception.php diff --git a/not-used/policy-oncover.php b/DemoSite/not-used/policy-oncover.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/policy-oncover.php rename to DemoSite/not-used/policy-oncover.php diff --git a/not-used/quote-choose-insurer.php b/DemoSite/not-used/quote-choose-insurer.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/quote-choose-insurer.php rename to DemoSite/not-used/quote-choose-insurer.php diff --git a/not-used/quote-full-questions.php b/DemoSite/not-used/quote-full-questions.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/quote-full-questions.php rename to DemoSite/not-used/quote-full-questions.php diff --git a/not-used/quote-full-requested.php b/DemoSite/not-used/quote-full-requested.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/quote-full-requested.php rename to DemoSite/not-used/quote-full-requested.php diff --git a/not-used/quote-quick-created.php b/DemoSite/not-used/quote-quick-created.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/quote-quick-created.php rename to DemoSite/not-used/quote-quick-created.php diff --git a/not-used/quote-referred.php b/DemoSite/not-used/quote-referred.php old mode 100755 new mode 100644 similarity index 100% rename from not-used/quote-referred.php rename to DemoSite/not-used/quote-referred.php diff --git a/quote-submitted.php b/DemoSite/quote-submitted.php old mode 100755 new mode 100644 similarity index 100% rename from quote-submitted.php rename to DemoSite/quote-submitted.php diff --git a/style/datepicker.min.css b/DemoSite/style/datepicker.min.css similarity index 100% rename from style/datepicker.min.css rename to DemoSite/style/datepicker.min.css diff --git a/style/default.css b/DemoSite/style/default.css old mode 100755 new mode 100644 similarity index 97% rename from style/default.css rename to DemoSite/style/default.css index d6ffc02..3b661a9 --- a/style/default.css +++ b/DemoSite/style/default.css @@ -1,236 +1,236 @@ -input.rounded-DEBUG{background-color:#cccc00;color:#000;cursor:pointer;font-weight:bold;font-size:14px; - border:0; - padding:5px 20px; - border-bottom-left-radius:10px 10px; - border-bottom-right-radius:10px 10px; - border-top-left-radius:10px 10px; - border-top-right-radius:10px 10px;} - -span.DEBUG{display:block;width:auto;background-color:#cccc00;color:#000;padding:10px;margin-bottom:0px;} - -/* - - SCHEMESERVE SITES CSS - (c) ADM Network 2010 - http://www.SchemeServe.com - -*/ - - -/* SHARED */ - -/* shared elements */ -body{margin:0px;font-size:12px;font-family:Lucida Grande,Arial,Helvetica,Sans-serif;} -h1{font-size:24px;font-weight:bold;} -h2{font-size:20px;font-weight:normal;color:#ccc;float:right;margin-top:-43px;} -h3{font-size:18px;margin:10px 0;} -h4{font-size:14px;margin:0 0 10px 0;} -span.opt{color:#999;font-weight:normal;} -p{font-size:13px;font-weight:normal;} -a{color:#0066FF;font-size:14px;font-weight:bold;text-decoration:none;} -a:hover{color:#0066FF;font-weight:bolder;text-decoration:underline;} -a.red{padding:3px;color:#ee0000;font-size:12px;font-weight:normal;text-decoration:underline;} -a.red:hover{color:#fff;background-color:#ee0000;font-weight:normal;text-decoration:none;} - -/* logo, nav and footer that appear on most if not all pages */ -div#logo{margin:10px;} -div#nav{display:block;width:auto;background-color:#dd0000;color:#000;padding:10px;margin-bottom:0px;} -div#nav li{display:inline;margin-right:10px;} -div#nav li a{padding:10px;color:#fff;font-size:13px;font-weight:normal;text-decoration:none;border:1px solid #fff;} -div#nav li a:hover{color:#fff;background-color:#aa0000;font-weight:normal;text-decoration:none;border:1px solid #fff;} -div#footer{display:block;margin-top:50px;width:auto;background-color:#fff;border-top:#dd0000 4px solid;color:#000;padding:5px;margin-bottom:0px;text-align:center;} - -/* positioning */ -.left{float:left;} -.right{float:right;} - -/* useful form spacers */ -.gaptop10{margin-top:10px;} -.gaptop20{margin-top:20px;} -.gaptop25{margin-top:25px;} -.gaptop30{margin-top:30px;} -.splitter_dots{height:1px;border-top:2px dotted #ccc;margin:25px 0 5px 0;} - -/* sexy buttons with rounded corners */ -input.rounded{background-color:#cc0000;color:#fff;cursor:pointer;font-weight:bold;font-size:14px; - border:0; - padding:5px 20px; - border-bottom-left-radius:10px 10px; - border-bottom-right-radius:10px 10px; - border-top-left-radius:10px 10px; - border-top-right-radius:10px 10px;} - -/* containers used on every page */ -#innerContainer{/*nothing*/} -#outerContainer{/*nothing*/} -#mainContent{width:950px;border-left:1px solid #D5D5D5;border-right:1px solid #D5D5D5;margin:auto;background-color:#FFFFFF;padding:20px;} - - - -/* GET QUOTE PAGES */ - -/* some pages are split into two columns; we had to use a table this time :( */ -.columns{width:875px;padding:0;} -.leftColumn{width:425px;vertical-align:top;} -.rightColumn{width:425px;vertical-align:top;} -.spacerColumn{width:25px;} - -/* bordered boxes used on most pages */ -div.edgy{width:auto;border:1px solid #ccc;border-width:1px 3px;margin:20px 15px;padding:30px 20px;} -div.edgy_error{border:1px solid #ee0000;background-color:#ffeeee;border-width:1px 3px;} -div.edgy input.client-name, div.edgy input.date, div.edgy input.client-email {float: left; margin: 0 10px 0 0;} - -div.edgy input.client-email {text-transform: lowercase} - -/* normal input boxes and their labels */ -div.edgy input{display:block;text-transform:capitalize;color:#444;font-size:14px;width:400px;height:20px;padding:2px 4px;margin:0 0 8px 0; - border-bottom-style: inset; - border-bottom-width: 2px; - border-left-style: inset; - border-left-width: 2px; - border-right-style: inset; - border-right-width: 2px; - border-top-style: inset; - border-top-width: 2px; - } -div.edgy input.error{color:#000;background-color:#fffafa;border-color:#ffcccc; - border-bottom-style: inset; - border-bottom-width: 2px; - border-left-style: inset; - border-left-width: 2px; - border-right-style: inset; - border-right-width: 2px; - border-top-style: inset; - border-top-width: 2px; - } -div.edgy input.small{width:250px;} -div.edgy input.smaller{width:150px;} -div.edgy input.word{width:100px;} -div.edgy input.postcode{width:100px;text-transform:uppercase;} -div.edgy input.password{width:200px;text-transform:none;} -div.edgy input.number{width:150px;text-transform:none;} /* ony for numbers please, otherwise use .word */ -div.edgy input.money{width:150px;text-transform:none;} /* use this one for money e.g. £123.45 */ -div.edgy input.date{width:100px;text-transform:none;} /* and this for dates e.g. 11/11/11 */ -div.edgy input.tiny{width:50px;} -div.edgy label{font-size:14px;display:block;font-weight:bold;margin-bottom:5px;} -div.edgy label.error{/*nothing*/} -div.edgy label.big{font-size:18px;display:block;font-weight:bold;margin-bottom:8px;} -div.edgy label.sub{font-size:14px;display:inline;font-weight:normal;color:#888;} -div.edgy label.indent, -div.edgy input.indent{margin:0 0 10px 35px;} -div.edgy input.nocaps{text-transform:none;} - -/* radio button inputs and their labels */ -div.edgy input.radio{display:inline;width:15px;height:15px;margin:8px 8px 8px 0;padding:0;} -div.edgy label.sub_radio{display:inline;font-size:14px;font-weight:normal;margin:0;padding:0;} - -/* text shown below input fields */ -div.edgy p.field_desc{color:#aaa;font-size:13px;margin:10px 0 0 0;} -div.edgy p.field_desc.error{color:#ee0000;} -div.edgy p.field_desc a{color:#0088FF;font-size:13px;font-weight:normal;text-decoration:underline;} -div.edgy p.field_desc a:hover{color:#0066FF;font-weight:normal;text-decoration:underline;} - -/* other text shown within edgy boxes */ -div.edgy p{margin:15px 0;} -div.edgy p a{color:#0088FF;font-size:13px;font-weight:normal;text-decoration:underline;} -div.edgy p a:hover{color:#0066FF;font-weight:normal;text-decoration:underline;} - - - -/* GET QUOTE, CHOOSE SCHEME PAGE */ -ul#chooseScheme{width:auto;list-style-type:none;margin:20px 15px 15px -25px;} -ul#chooseScheme li{line-height:25px;margin-bottom:5px;padding:5px 20px 5px 20px;border:1px solid #ccc;border-width:1px 3px;} -ul#chooseScheme li a{font-size:14px;font-weight:bold;text-decoration:none;} -ul#chooseScheme li.active{font-weight:bolder;text-decoration:underline;} -ul#chooseScheme li a:hover{font-weight:bolder;text-decoration:underline;} - - -/* GET QUOTE, AGENT NO AUTH PAGE */ -div.edgy p.big{font-size:18px;} -div.edgy p.big a{color:#0088FF;font-size:18px;font-weight:normal;text-decoration:underline;} -div.edgy p.big a:hover{color:#0066FF;font-weight:normal;text-decoration:underline;} -h3 span.unbold{font-weight:normal;} - -#topLogo{margin:20px auto 9px auto;width:940px;} -#topLogo a{text-decoration:none;} -#topLogo img{border:none;margin-bottom:10px;} -#topLogo div#phoneNo{margin:0;margin-left:280px;margin-top:-38px;} -#topLogo div#phoneNo p{margin:0 0 0 30px;font-size:24px;font-weight:bold;} -#topLogo div#phoneNo img{float:left;margin:1px 0 0 0;width:24px;height:24px;} -ul#topMenuList{width:800px;list-style-type:none;margin:0 auto;padding-top:2px;} -ul#topMenuList li{text-align:center;line-height:25px;display:inline;padding:0px 20px 0px 20px;} -ul#topMenuList li a{font-size:14px;font-weight:bold;text-decoration:none;} -ul#topMenuList li.active{font-weight:bolder;text-decoration:underline;} -ul#topMenuList li a:hover{font-weight:bolder;text-decoration:underline;} -#searchDiv { margin-top:-30px; float:right; line-height:35px; } -#topMenu{text-align:center;background-color:#FF0000;height:26px;background-image:url('../images/faderHeader.png');background-repeat:repeat-x;color:#FFFFFF;} -#topMenu a{color:#FFFFFF;} -#header{background-color:#FFFFFF;} - -#footerContent{background-color:#EEEEEE;background-image:url('../images/faderFooter.png');background-repeat:repeat-x;padding-top:20px;} -#extraFooter{font-size:10px;padding:15px;background-color:#CCCCCC;text-align:center;} -#sideMenu{width:180px;} -ul#sideMenuList{margin:0px;padding:0px;list-style-type:none;} -#sideMenuList li.top{font-weight:bold;color:#FFFFFF;text-align:center;line-height:30px;width:160px;height:30px;background-color:#FF0000;border-bottom:1px solid #CCCCCC;border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC;border-top:1px solid #CCCCCC;} -#sideMenuList li{text-align:center;line-height:25px;width:160px;height:25px;background-color:#EEEEEE;border-bottom:1px solid #CCCCCC;border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC;} -#sideMenuList li a{color:#000000;text-decoration:none;} -#sideMenuList li.active{font-weight:bold;} -#sideContent{width:780px;text-align:left;} -#sideContent a:visited{color:blue;} -#footer{background-color:#EEEEEE;} -#footerTable{text-align:left;margin-top:10px;} -#footerTable thead td{color:#FF0000} -#footerTable td{padding-right:15px;} - -/* classes and schemes links in footer */ -#footerTable thead a{color:#ff0000;} -#footerTable thead a:hover{color:#fff;background-color:#ff0000;} -#footerTable tbody a{color:#000000;} -#footerTable tbody a:hover{color:#fff;background-color:#000;} - -/* general footer links */ -#footerLinks { text-align: center; padding: 10px;} -#footerLinks a{color:#000000;} -#footerLinks a:hover{color:#fff;background-color:#000;} -#footerLinks span {color:red;} - -#searchDiv input.searchButton { border:1px solid; padding:4px 7px; font-size:12px; cursor:pointer; -background-color: #000000; color: -#FFFFFF; } -#searchDiv input { border:1px solid;} -img { border: 0; } -#sideContent.clearMargin { margin-left: 0px; !important } - -#rightContainer { float: right; width: 170px; } -#rightContainer #rightImage { margin: 15px 3px 15px 0px; } -#rightContainer #rightMenu { border: 2px solid #CBCBCB; padding: 0px 8px 0px 8px; -webkit-border-radius: 15px; -moz-border-radius: 15px; margin-left:-1px; width:144px;} -#rightContainer #rightMenu li { font-size: 12px; padding-bottom: 14px;} -#rightContainer #rightMenu li.bottom { padding-bottom: 3px; } -#rightContainer #rightMenu li img { border: 0px; position: relative; top: 3px; } -#rightContainer #rightMenu li a { color: #000000; font-weight: normal; text-decoration: underline; } -#rightContainer #rightMenu ul { list-style-type: none; padding-left: 0px; margin: 10px 5px 10px 5px; } - -#homeHeaderImages img {padding:0 3px;} - -.align-right { float:right; margin: 0 0 5px 5px; } -.align-left { float:left; margin: 0 5px 5px 0; } - -.DEBUG { - display: none !important; -} - -#client-title { - float: left; - height: 28px; - margin-right: 10px; -} - -.date-to { - font-size: 15px; - margin: 5px 10px 0 0; - float: left; -} - -label.error { - color: red; +input.rounded-DEBUG{background-color:#cccc00;color:#000;cursor:pointer;font-weight:bold;font-size:14px; + border:0; + padding:5px 20px; + border-bottom-left-radius:10px 10px; + border-bottom-right-radius:10px 10px; + border-top-left-radius:10px 10px; + border-top-right-radius:10px 10px;} + +span.DEBUG{display:block;width:auto;background-color:#cccc00;color:#000;padding:10px;margin-bottom:0px;} + +/* + + SCHEMESERVE SITES CSS + (c) ADM Network 2010 + http://www.SchemeServe.com + +*/ + + +/* SHARED */ + +/* shared elements */ +body{margin:0px;font-size:12px;font-family:Lucida Grande,Arial,Helvetica,Sans-serif;} +h1{font-size:24px;font-weight:bold;} +h2{font-size:20px;font-weight:normal;color:#ccc;float:right;margin-top:-43px;} +h3{font-size:18px;margin:10px 0;} +h4{font-size:14px;margin:0 0 10px 0;} +span.opt{color:#999;font-weight:normal;} +p{font-size:13px;font-weight:normal;} +a{color:#0066FF;font-size:14px;font-weight:bold;text-decoration:none;} +a:hover{color:#0066FF;font-weight:bolder;text-decoration:underline;} +a.red{padding:3px;color:#ee0000;font-size:12px;font-weight:normal;text-decoration:underline;} +a.red:hover{color:#fff;background-color:#ee0000;font-weight:normal;text-decoration:none;} + +/* logo, nav and footer that appear on most if not all pages */ +div#logo{margin:10px;} +div#nav{display:block;width:auto;background-color:#dd0000;color:#000;padding:10px;margin-bottom:0px;} +div#nav li{display:inline;margin-right:10px;} +div#nav li a{padding:10px;color:#fff;font-size:13px;font-weight:normal;text-decoration:none;border:1px solid #fff;} +div#nav li a:hover{color:#fff;background-color:#aa0000;font-weight:normal;text-decoration:none;border:1px solid #fff;} +div#footer{display:block;margin-top:50px;width:auto;background-color:#fff;border-top:#dd0000 4px solid;color:#000;padding:5px;margin-bottom:0px;text-align:center;} + +/* positioning */ +.left{float:left;} +.right{float:right;} + +/* useful form spacers */ +.gaptop10{margin-top:10px;} +.gaptop20{margin-top:20px;} +.gaptop25{margin-top:25px;} +.gaptop30{margin-top:30px;} +.splitter_dots{height:1px;border-top:2px dotted #ccc;margin:25px 0 5px 0;} + +/* sexy buttons with rounded corners */ +input.rounded{background-color:#cc0000;color:#fff;cursor:pointer;font-weight:bold;font-size:14px; + border:0; + padding:5px 20px; + border-bottom-left-radius:10px 10px; + border-bottom-right-radius:10px 10px; + border-top-left-radius:10px 10px; + border-top-right-radius:10px 10px;} + +/* containers used on every page */ +#innerContainer{/*nothing*/} +#outerContainer{/*nothing*/} +#mainContent{width:950px;border-left:1px solid #D5D5D5;border-right:1px solid #D5D5D5;margin:auto;background-color:#FFFFFF;padding:20px;} + + + +/* GET QUOTE PAGES */ + +/* some pages are split into two columns; we had to use a table this time :( */ +.columns{width:875px;padding:0;} +.leftColumn{width:425px;vertical-align:top;} +.rightColumn{width:425px;vertical-align:top;} +.spacerColumn{width:25px;} + +/* bordered boxes used on most pages */ +div.edgy{width:auto;border:1px solid #ccc;border-width:1px 3px;margin:20px 15px;padding:30px 20px;} +div.edgy_error{border:1px solid #ee0000;background-color:#ffeeee;border-width:1px 3px;} +div.edgy input.client-name, div.edgy input.date, div.edgy input.client-email {float: left; margin: 0 10px 0 0;} + +div.edgy input.client-email {text-transform: lowercase} + +/* normal input boxes and their labels */ +div.edgy input{display:block;text-transform:capitalize;color:#444;font-size:14px;width:400px;height:20px;padding:2px 4px;margin:0 0 8px 0; + border-bottom-style: inset; + border-bottom-width: 2px; + border-left-style: inset; + border-left-width: 2px; + border-right-style: inset; + border-right-width: 2px; + border-top-style: inset; + border-top-width: 2px; + } +div.edgy input.error{color:#000;background-color:#fffafa;border-color:#ffcccc; + border-bottom-style: inset; + border-bottom-width: 2px; + border-left-style: inset; + border-left-width: 2px; + border-right-style: inset; + border-right-width: 2px; + border-top-style: inset; + border-top-width: 2px; + } +div.edgy input.small{width:250px;} +div.edgy input.smaller{width:150px;} +div.edgy input.word{width:100px;} +div.edgy input.postcode{width:100px;text-transform:uppercase;} +div.edgy input.password{width:200px;text-transform:none;} +div.edgy input.number{width:150px;text-transform:none;} /* ony for numbers please, otherwise use .word */ +div.edgy input.money{width:150px;text-transform:none;} /* use this one for money e.g. £123.45 */ +div.edgy input.date{width:100px;text-transform:none;} /* and this for dates e.g. 11/11/11 */ +div.edgy input.tiny{width:50px;} +div.edgy label{font-size:14px;display:block;font-weight:bold;margin-bottom:5px;} +div.edgy label.error{/*nothing*/} +div.edgy label.big{font-size:18px;display:block;font-weight:bold;margin-bottom:8px;} +div.edgy label.sub{font-size:14px;display:inline;font-weight:normal;color:#888;} +div.edgy label.indent, +div.edgy input.indent{margin:0 0 10px 35px;} +div.edgy input.nocaps{text-transform:none;} + +/* radio button inputs and their labels */ +div.edgy input.radio{display:inline;width:15px;height:15px;margin:8px 8px 8px 0;padding:0;} +div.edgy label.sub_radio{display:inline;font-size:14px;font-weight:normal;margin:0;padding:0;} + +/* text shown below input fields */ +div.edgy p.field_desc{color:#aaa;font-size:13px;margin:10px 0 0 0;} +div.edgy p.field_desc.error{color:#ee0000;} +div.edgy p.field_desc a{color:#0088FF;font-size:13px;font-weight:normal;text-decoration:underline;} +div.edgy p.field_desc a:hover{color:#0066FF;font-weight:normal;text-decoration:underline;} + +/* other text shown within edgy boxes */ +div.edgy p{margin:15px 0;} +div.edgy p a{color:#0088FF;font-size:13px;font-weight:normal;text-decoration:underline;} +div.edgy p a:hover{color:#0066FF;font-weight:normal;text-decoration:underline;} + + + +/* GET QUOTE, CHOOSE SCHEME PAGE */ +ul#chooseScheme{width:auto;list-style-type:none;margin:20px 15px 15px -25px;} +ul#chooseScheme li{line-height:25px;margin-bottom:5px;padding:5px 20px 5px 20px;border:1px solid #ccc;border-width:1px 3px;} +ul#chooseScheme li a{font-size:14px;font-weight:bold;text-decoration:none;} +ul#chooseScheme li.active{font-weight:bolder;text-decoration:underline;} +ul#chooseScheme li a:hover{font-weight:bolder;text-decoration:underline;} + + +/* GET QUOTE, AGENT NO AUTH PAGE */ +div.edgy p.big{font-size:18px;} +div.edgy p.big a{color:#0088FF;font-size:18px;font-weight:normal;text-decoration:underline;} +div.edgy p.big a:hover{color:#0066FF;font-weight:normal;text-decoration:underline;} +h3 span.unbold{font-weight:normal;} + +#topLogo{margin:20px auto 9px auto;width:940px;} +#topLogo a{text-decoration:none;} +#topLogo img{border:none;margin-bottom:10px;} +#topLogo div#phoneNo{margin:0;margin-left:280px;margin-top:-38px;} +#topLogo div#phoneNo p{margin:0 0 0 30px;font-size:24px;font-weight:bold;} +#topLogo div#phoneNo img{float:left;margin:1px 0 0 0;width:24px;height:24px;} +ul#topMenuList{width:800px;list-style-type:none;margin:0 auto;padding-top:2px;} +ul#topMenuList li{text-align:center;line-height:25px;display:inline;padding:0px 20px 0px 20px;} +ul#topMenuList li a{font-size:14px;font-weight:bold;text-decoration:none;} +ul#topMenuList li.active{font-weight:bolder;text-decoration:underline;} +ul#topMenuList li a:hover{font-weight:bolder;text-decoration:underline;} +#searchDiv { margin-top:-30px; float:right; line-height:35px; } +#topMenu{text-align:center;background-color:#FF0000;height:26px;background-image:url('../images/faderHeader.png');background-repeat:repeat-x;color:#FFFFFF;} +#topMenu a{color:#FFFFFF;} +#header{background-color:#FFFFFF;} + +#footerContent{background-color:#EEEEEE;background-image:url('../images/faderFooter.png');background-repeat:repeat-x;padding-top:20px;} +#extraFooter{font-size:10px;padding:15px;background-color:#CCCCCC;text-align:center;} +#sideMenu{width:180px;} +ul#sideMenuList{margin:0px;padding:0px;list-style-type:none;} +#sideMenuList li.top{font-weight:bold;color:#FFFFFF;text-align:center;line-height:30px;width:160px;height:30px;background-color:#FF0000;border-bottom:1px solid #CCCCCC;border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC;border-top:1px solid #CCCCCC;} +#sideMenuList li{text-align:center;line-height:25px;width:160px;height:25px;background-color:#EEEEEE;border-bottom:1px solid #CCCCCC;border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC;} +#sideMenuList li a{color:#000000;text-decoration:none;} +#sideMenuList li.active{font-weight:bold;} +#sideContent{width:780px;text-align:left;} +#sideContent a:visited{color:blue;} +#footer{background-color:#EEEEEE;} +#footerTable{text-align:left;margin-top:10px;} +#footerTable thead td{color:#FF0000} +#footerTable td{padding-right:15px;} + +/* classes and schemes links in footer */ +#footerTable thead a{color:#ff0000;} +#footerTable thead a:hover{color:#fff;background-color:#ff0000;} +#footerTable tbody a{color:#000000;} +#footerTable tbody a:hover{color:#fff;background-color:#000;} + +/* general footer links */ +#footerLinks { text-align: center; padding: 10px;} +#footerLinks a{color:#000000;} +#footerLinks a:hover{color:#fff;background-color:#000;} +#footerLinks span {color:red;} + +#searchDiv input.searchButton { border:1px solid; padding:4px 7px; font-size:12px; cursor:pointer; +background-color: #000000; color: +#FFFFFF; } +#searchDiv input { border:1px solid;} +img { border: 0; } +#sideContent.clearMargin { margin-left: 0px; !important } + +#rightContainer { float: right; width: 170px; } +#rightContainer #rightImage { margin: 15px 3px 15px 0px; } +#rightContainer #rightMenu { border: 2px solid #CBCBCB; padding: 0px 8px 0px 8px; -webkit-border-radius: 15px; -moz-border-radius: 15px; margin-left:-1px; width:144px;} +#rightContainer #rightMenu li { font-size: 12px; padding-bottom: 14px;} +#rightContainer #rightMenu li.bottom { padding-bottom: 3px; } +#rightContainer #rightMenu li img { border: 0px; position: relative; top: 3px; } +#rightContainer #rightMenu li a { color: #000000; font-weight: normal; text-decoration: underline; } +#rightContainer #rightMenu ul { list-style-type: none; padding-left: 0px; margin: 10px 5px 10px 5px; } + +#homeHeaderImages img {padding:0 3px;} + +.align-right { float:right; margin: 0 0 5px 5px; } +.align-left { float:left; margin: 0 5px 5px 0; } + +.DEBUG { + display: none !important; +} + +#client-title { + float: left; + height: 28px; + margin-right: 10px; +} + +.date-to { + font-size: 15px; + margin: 5px 10px 0 0; + float: left; +} + +label.error { + color: red; } \ No newline at end of file diff --git a/submit-quote.php b/DemoSite/submit-quote.php old mode 100755 new mode 100644 similarity index 100% rename from submit-quote.php rename to DemoSite/submit-quote.php diff --git a/ui/footer.php b/DemoSite/ui/footer.php similarity index 100% rename from ui/footer.php rename to DemoSite/ui/footer.php diff --git a/ui/header.php b/DemoSite/ui/header.php old mode 100755 new mode 100644 similarity index 100% rename from ui/header.php rename to DemoSite/ui/header.php diff --git a/README b/README old mode 100755 new mode 100644 index 106af4e..29327ec --- a/README +++ b/README @@ -1,4 +1,7 @@ PHP example insurance website utilizing the SchemeServe API (see http://insurancesoftware.com/theService/api/). +For a quick example of querying the API check the simple-demo.php file in the root. +For a more elaborate example see the demo project in the DemoSite folder. + Originally created by Adam Bishop. -(c) SchemeServe (ADM Network Ltd) 2013 +(c) SchemeServe (ADM Network Ltd) 2013 \ No newline at end of file diff --git a/request-body-example-json b/request-body-example-json new file mode 100644 index 0000000..a63da35 --- /dev/null +++ b/request-body-example-json @@ -0,0 +1,2426 @@ +{ + "paymentdetails": { + "accountname": "Bank Name", + "accountnumber": "88888888", + "bic": "HELLOTST", + "collectionamount": 3.00, + "iban": "AL90208110080000001039531801", + "paymentmethod": 10, + "sortcode": "111111", + "paymentmethodid": 5, + "paymentfrequencyid": 9 + }, + "questionset": [{ + "questionpageid": "Page1", + "questionpagename": "Client Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "Client.ContactName", + "questionid": "2347ClientName", + "description": "Client Name", + "answers": [{ + "clientname": { + "firstname": "sdfsdf", + "surname": "sdfsdf", + "title": null + }, + "description": null, + "value": "sdfsdf sdfsdf" + }] + }, { + "helptext": "", + "tag": "", + "type": "Client.Address", + "questionid": "2347ClientAddress", + "description": "Client Address", + "answers": [{ + "address": { + "addressline1": ",,Azalee", + "addressline2": "Charleville View,", + "county": "Offaly", + "postcode": "", + "town": "Tullamore" + }, + "description": null, + "value": null + }] + }, { + "helptext": "", + "tag": "", + "type": "Client.Email", + "questionid": "2347ClientEmail", + "description": "Client Email", + "answers": [{ + "description": null, + "value": "sdfsd@buy4now.com" + }] + }, { + "helptext": "", + "tag": "", + "type": "Client.Phone", + "questionid": "2347ClientPhone", + "description": "Client Phone Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Client.MobilePhone", + "questionid": "2347ClientMobile", + "description": "Client Mobile Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }] + }, { + "questionpageid": "Page13", + "questionpagename": "Policy Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "InceptionDate", + "questionid": "RequestedInceptionDate", + "description": "When would you like cover to commence", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "PaymentOption", + "questionid": "ActualPaymentPeriod", + "description": "Actual Payment Period", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "RequestedPaymentPeriod", + "action": null + }], + "type": "DropDown", + "questionid": "RequestedPaymentPeriod", + "description": "-Hidden- Requested Payment Period", + "answers": [{ + "description": "Monthly", + "value": "Monthly" + }, { + "description": "Yearly", + "value": "Yearly" + }] + }, { + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "NumberOfDevices", + "description": "How many devices do you want to cover ?", + "answers": [{ + "description": "1", + "value": "1" + }, { + "description": "2", + "value": "2" + }, { + "description": "3", + "value": "3" + }, { + "description": "4", + "value": "4" + }, { + "description": "5", + "value": "5" + }, { + "description": "6", + "value": "6" + }, { + "description": "7", + "value": "7" + }, { + "description": "8", + "value": "8" + }, { + "description": "9", + "value": "9" + }, { + "description": "10", + "value": "10" + }] + }, { + "helptext": "", + "tag": "", + "type": "Text", + "questionid": "VoucherCode", + "description": "Voucher Code", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Text", + "questionid": "AffiliateCode", + "description": "Affiliate Code", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }] + }, { + "questionpageid": "Page2", + "questionpagename": "Device 1 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium", + "description": "-Hidden- Premium for Device 1", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo", + "description": "Liquid Damage", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }] + }, { + "questionpageid": "Page3", + "questionpagename": "Device 2 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType2", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Tablet", + "value": "Tablet" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails2", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails2", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier2", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier2", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType2", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber2", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber2", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType2", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI2", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI2", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType2", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber2", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber2", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium2", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium2", + "description": "-Hidden- Premium for Device 2", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras2", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo2", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo2", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo2", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo2", + "description": "Liquid Damage", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "1", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page3", + "action": "DISPLAY" + }] + }, { + "questionpageid": "Page4", + "questionpagename": "Device 3 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType3", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails3", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails3", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier3", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier3", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType3", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber3", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber3", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType3", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI3", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI3", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType3", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber3", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber3", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium3", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium3", + "description": "-Hidden- Premium for Device 3", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras3", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo3", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo3", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo3", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo3", + "description": "Liquid Damage", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "2", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page4", + "action": "DISPLAY" + }] + }, { + "questionpageid": "Page5", + "questionpagename": "Device 4 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType4", + "description": "What type of device is this ?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails4", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails4", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier4", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier4", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType4", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNotActiveYet4", + "action": null + }], + "type": "CheckBox", + "questionid": "MobileDeviceNotActiveYet4", + "description": "Tick here if your mobile phone\/device does not yet have a phone number \/ IMEI.(You will need to supply these details later by calling 01702 222 888).<\/span>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType4", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber4", + "action": null + }, { + "rules": [{ + "test": "checked", + "testquestion": "MobileDeviceNotActiveYet4", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber4", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber4", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType4", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI4", + "action": null + }, { + "rules": [{ + "test": "checked", + "testquestion": "MobileDeviceNotActiveYet4", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI4", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI4", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType4", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber4", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber4", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium4", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium4", + "description": "-Hidden- Premium for Device 4", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras4", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo4", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo4", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo4", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo4", + "description": "Liquid", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "3", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page5", + "action": "DISPLAY" + }] + }, { + "questionpageid": "Page6", + "questionpagename": "Device 5 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType5", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }, { + "description": "Laptop", + "value": "Laptop" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails5", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails5", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier5", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier5", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType5", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber5", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber5", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType5", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI5", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI5", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType5", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber5", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber5", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium5", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium5", + "description": "-Hidden- Premium for Device 5", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras5", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo5", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo5", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo5", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo5", + "description": "Liquid", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "4", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page6", + "action": "DISPLAY" + }] + }, { + "questionpageid": "Page7", + "questionpagename": "Device 6 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType6", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails6", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails6", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier6", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier6", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType6", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber6", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber6", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType6", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI6", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI6", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType6", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber6", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber6", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium6", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium6", + "description": "-Hidden- Premium for Device 6", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras6", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo6", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo6", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo6", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo6", + "description": "Liquid Damage", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "5", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page7", + "action": "DISPLAY" + }] + }, { + "questionpageid": "Page8", + "questionpagename": "Device 7 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType7", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails7", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails7", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier7", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier7", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType7", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber7", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber7", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType7", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI7", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI7", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType7", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber7", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber7", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium7", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium7", + "description": "-Hidden- Premium for Device 7", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras7", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo7", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo7", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo7", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo7", + "description": "Liquid Damage", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "6", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page8", + "action": "DISPLAY" + }] + }, { + "questionpageid": "Page9", + "questionpagename": "Device 8 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType8", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails8", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails8", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier8", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier8", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType8", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber8", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber8", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType8", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI8", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI8", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType8", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber8", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber8", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium8", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium8", + "description": "-Hidden- Premium for Device 8", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras8", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo8", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo8", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo8", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo8", + "description": "Liquid Damage", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "7", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page9", + "action": "DISPLAY" + }] + }, { + "questionpageid": "Page10", + "questionpagename": "Device 9 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType9", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails9", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails9", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier9", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier9", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType9", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber9", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber9", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType9", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI9", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI9", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType9", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber9", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber9", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium9", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium9", + "description": "-Hidden- Premium for Device 9", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras9", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo9", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo9", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo9", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo9", + "description": "Liquid Damage", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "8", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page10", + "action": "DISPLAY" + }] + }, { + "questionpageid": "Page11", + "questionpagename": "Device 10 Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "DropDown", + "questionid": "DeviceType10", + "description": "What type of device is this?", + "answers": [{ + "description": "- Select -", + "value": "- Select -" + }, { + "description": "Mobile Phone", + "value": "Mobile Phone" + }, { + "description": "Tablet", + "value": "Tablet" + }] + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDetails10", + "action": null + }], + "type": "FileLookup", + "questionid": "MobileDetails10", + "description": "Please select the Device Make and Model", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceTier10", + "action": null + }], + "type": "Number", + "questionid": "DeviceTier10", + "description": "-Hidden- Device Tier", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType10", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceNumber10", + "action": null + }], + "type": "Number", + "questionid": "MobileDeviceNumber10", + "description": "Mobile Phone\/Device Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType10", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "MobileDeviceIMEI10", + "action": null + }], + "type": "Text", + "questionid": "MobileDeviceIMEI10", + "description": "Mobile Phone\/Device IMEI", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Mobile Phone", + "testquestion": "DeviceType10", + "testtype": "NOT_EQUAL", + "warningtext": "" + }], + "targetquestion": "DeviceSerialNumber10", + "action": null + }], + "type": "Text", + "questionid": "DeviceSerialNumber10", + "description": "Device Serial Number", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "zzzzz", + "testquestion": "2347ClientName", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "DevicePremium10", + "action": null + }], + "type": "Money", + "questionid": "DevicePremium10", + "description": "-Hidden- Premium for Device 10", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "SmallTitle", + "questionid": "Extras10", + "description": "Extras Selected<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "TheftYesNo10", + "description": "Theft", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "triggers": [{ + "rules": [{ + "test": "Tablet", + "testquestion": "DeviceType", + "testtype": "EQUAL", + "warningtext": "" + }], + "targetquestion": "LossYesNo10", + "action": null + }], + "type": "YesNo", + "questionid": "LossYesNo10", + "description": "Loss", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "YesNo", + "questionid": "LiquidYesNo10", + "description": "Liquid Damage", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }], + "triggers": [{ + "rules": [{ + "test": "9", + "testquestion": "NumberOfDevices", + "testtype": "GREATER_THAN", + "warningtext": "" + }], + "targetpage": "Page11", + "action": "DISPLAY" + }] + }, { + "questionpageid": "PageCalculation", + "questionpagename": "Cover Details", + "questions": [{ + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "BasicPremiumTotal", + "description": "Basic Premium Total<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "PackageDiscount", + "description": "- Discount", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "TotalPremiumNet", + "description": "Total Premium (Net)<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "IPT", + "description": "+ IPT", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "PolicyFee", + "description": "+ Policy Fee", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "TotalPremium", + "description": "Total Premium<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "CommissionFromInsurer", + "description": "Commission From Insurer<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "Commission", + "description": "Total Commission<\/b>", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }, { + "helptext": "", + "tag": "", + "type": "Total", + "questionid": "DueFromBroker", + "description": "(Due From Broker)", + "answers": [{ + "description": "", + "value": "010101010" + }] + + }] + }], + "schemeid": #### +} \ No newline at end of file diff --git a/request-body-example-xml b/request-body-example-xml new file mode 100644 index 0000000..89e2ab4 --- /dev/null +++ b/request-body-example-xml @@ -0,0 +1,3078 @@ + + + + Page1 + Client Details + + + + + Client.ContactName + 2347ClientName + Client Name + + + + The value here + + + + + + + Client.Address + 2347ClientAddress + Client Address + + +
+ 39 Fabian Crescent + Shirley + West Midlands + B90 2BA + Solihull +
+ + +
+
+
+ + + + Client.Email + 2347ClientEmail + Client Email + + + + test@abv.bg + + + + + + + Client.Phone + 2347ClientPhone + Client Phone Number + + + + The value here + + + + + + + Client.MobilePhone + 2347ClientMobile + Client Mobile Number + + + + The value here + + + +
+
+ + Page13 + Policy Details + + + + + InceptionDate + RequestedInceptionDate + When would you like cover to commence + + + + The value here + + + + + + + PaymentOption + ActualPaymentPeriod + Actual Payment Period + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + RequestedPaymentPeriod + + + + DropDown + RequestedPaymentPeriod + -Hidden- Requested Payment Period + + + Monthly + Monthly + + + Yearly + Yearly + + + + + + + DropDown + NumberOfDevices + How many devices do you want to cover ? + + + 1 + 1 + + + 2 + 2 + + + 3 + 3 + + + 4 + 4 + + + 5 + 5 + + + 6 + 6 + + + 7 + 7 + + + 8 + 8 + + + 9 + 9 + + + 10 + 10 + + + + + + + Text + VoucherCode + Voucher Code + + + + The value here + + + + + + + Text + AffiliateCode + Affiliate Code + + + + The value here + + + + + + + Page2 + Device 1 Details + + + + + DropDown + DeviceType + What type of device is this? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails + + + + FileLookup + MobileDetails + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier + + + + Number + DeviceTier + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDeviceNumber + + + + Number + MobileDeviceNumber + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDeviceIMEI + + + + Text + MobileDeviceIMEI + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType + NOT_EQUAL + + + + DeviceSerialNumber + + + + Text + DeviceSerialNumber + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzzz + 2347ClientName + EQUAL + + + + DevicePremium + + + + Money + DevicePremium + -Hidden- Premium for Device 1 + + + + The value here + + + + + + + SmallTitle + Extras + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo + + + + YesNo + LossYesNo + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo + Liquid Damage + + + + The value here + + + + + + + Page3 + Device 2 Details + + + + + DropDown + DeviceType2 + What type of device is this? + + + - Select - + - Select - + + + Tablet + Tablet + + + Mobile Phone + Mobile Phone + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails2 + + + + FileLookup + MobileDetails2 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier2 + + + + Number + DeviceTier2 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType2 + EQUAL + + + + MobileDeviceNumber2 + + + + Number + MobileDeviceNumber2 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType2 + EQUAL + + + + MobileDeviceIMEI2 + + + + Text + MobileDeviceIMEI2 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType2 + NOT_EQUAL + + + + DeviceSerialNumber2 + + + + Text + DeviceSerialNumber2 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium2 + + + + Money + DevicePremium2 + -Hidden- Premium for Device 2 + + + + The value here + + + + + + + SmallTitle + Extras2 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo2 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo2 + + + + YesNo + LossYesNo2 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo2 + Liquid Damage + + + + The value here + + + + + + + + + 1 + NumberOfDevices + GREATER_THAN + + + + Page3 + DISPLAY + + + + + Page4 + Device 3 Details + + + + + DropDown + DeviceType3 + What type of device is this? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails3 + + + + FileLookup + MobileDetails3 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier3 + + + + Number + DeviceTier3 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType3 + EQUAL + + + + MobileDeviceNumber3 + + + + Number + MobileDeviceNumber3 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType3 + EQUAL + + + + MobileDeviceIMEI3 + + + + Text + MobileDeviceIMEI3 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType3 + NOT_EQUAL + + + + DeviceSerialNumber3 + + + + Text + DeviceSerialNumber3 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium3 + + + + Money + DevicePremium3 + -Hidden- Premium for Device 3 + + + + The value here + + + + + + + SmallTitle + Extras3 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo3 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo3 + + + + YesNo + LossYesNo3 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo3 + Liquid Damage + + + + The value here + + + + + + + + + 2 + NumberOfDevices + GREATER_THAN + + + + Page4 + DISPLAY + + + + + Page5 + Device 4 Details + + + + + DropDown + DeviceType4 + What type of device is this ? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails4 + + + + FileLookup + MobileDetails4 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier4 + + + + Number + DeviceTier4 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType4 + EQUAL + + + + MobileDeviceNotActiveYet4 + + + + CheckBox + MobileDeviceNotActiveYet4 + Tick here if your mobile phone/device does not yet have a phone number / IMEI.<br/><span style="margin-left:25px">(You will need to supply these details later by calling 01702 222 888).</span> + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType4 + EQUAL + + + + MobileDeviceNumber4 + + + + + + checked + MobileDeviceNotActiveYet4 + EQUAL + + + + MobileDeviceNumber4 + + + + Number + MobileDeviceNumber4 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType4 + EQUAL + + + + MobileDeviceIMEI4 + + + + + + checked + MobileDeviceNotActiveYet4 + EQUAL + + + + MobileDeviceIMEI4 + + + + Text + MobileDeviceIMEI4 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType4 + NOT_EQUAL + + + + DeviceSerialNumber4 + + + + Text + DeviceSerialNumber4 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium4 + + + + Money + DevicePremium4 + -Hidden- Premium for Device 4 + + + + The value here + + + + + + + SmallTitle + Extras4 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo4 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo4 + + + + YesNo + LossYesNo4 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo4 + Liquid + + + + The value here + + + + + + + + + 3 + NumberOfDevices + GREATER_THAN + + + + Page5 + DISPLAY + + + + + Page6 + Device 5 Details + + + + + DropDown + DeviceType5 + What type of device is this? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + Laptop + Laptop + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails5 + + + + FileLookup + MobileDetails5 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier5 + + + + Number + DeviceTier5 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType5 + EQUAL + + + + MobileDeviceNumber5 + + + + Number + MobileDeviceNumber5 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType5 + EQUAL + + + + MobileDeviceIMEI5 + + + + Text + MobileDeviceIMEI5 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType5 + NOT_EQUAL + + + + DeviceSerialNumber5 + + + + Text + DeviceSerialNumber5 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium5 + + + + Money + DevicePremium5 + -Hidden- Premium for Device 5 + + + + The value here + + + + + + + SmallTitle + Extras5 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo5 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo5 + + + + YesNo + LossYesNo5 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo5 + Liquid + + + + The value here + + + + + + + + + 4 + NumberOfDevices + GREATER_THAN + + + + Page6 + DISPLAY + + + + + Page7 + Device 6 Details + + + + + DropDown + DeviceType6 + What type of device is this? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails6 + + + + FileLookup + MobileDetails6 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier6 + + + + Number + DeviceTier6 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType6 + EQUAL + + + + MobileDeviceNumber6 + + + + Number + MobileDeviceNumber6 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType6 + EQUAL + + + + MobileDeviceIMEI6 + + + + Text + MobileDeviceIMEI6 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType6 + NOT_EQUAL + + + + DeviceSerialNumber6 + + + + Text + DeviceSerialNumber6 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium6 + + + + Money + DevicePremium6 + -Hidden- Premium for Device 6 + + + + The value here + + + + + + + SmallTitle + Extras6 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo6 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo6 + + + + YesNo + LossYesNo6 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo6 + Liquid Damage + + + + The value here + + + + + + + + + 5 + NumberOfDevices + GREATER_THAN + + + + Page7 + DISPLAY + + + + + Page8 + Device 7 Details + + + + + DropDown + DeviceType7 + What type of device is this? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails7 + + + + FileLookup + MobileDetails7 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier7 + + + + Number + DeviceTier7 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType7 + EQUAL + + + + MobileDeviceNumber7 + + + + Number + MobileDeviceNumber7 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType7 + EQUAL + + + + MobileDeviceIMEI7 + + + + Text + MobileDeviceIMEI7 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType7 + NOT_EQUAL + + + + DeviceSerialNumber7 + + + + Text + DeviceSerialNumber7 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium7 + + + + Money + DevicePremium7 + -Hidden- Premium for Device 7 + + + + The value here + + + + + + + SmallTitle + Extras7 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo7 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo7 + + + + YesNo + LossYesNo7 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo7 + Liquid Damage + + + + The value here + + + + + + + + + 6 + NumberOfDevices + GREATER_THAN + + + + Page8 + DISPLAY + + + + + Page9 + Device 8 Details + + + + + DropDown + DeviceType8 + What type of device is this? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails8 + + + + FileLookup + MobileDetails8 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier8 + + + + Number + DeviceTier8 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType8 + EQUAL + + + + MobileDeviceNumber8 + + + + Number + MobileDeviceNumber8 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType8 + EQUAL + + + + MobileDeviceIMEI8 + + + + Text + MobileDeviceIMEI8 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType8 + NOT_EQUAL + + + + DeviceSerialNumber8 + + + + Text + DeviceSerialNumber8 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium8 + + + + Money + DevicePremium8 + -Hidden- Premium for Device 8 + + + + The value here + + + + + + + SmallTitle + Extras8 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo8 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo8 + + + + YesNo + LossYesNo8 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo8 + Liquid Damage + + + + The value here + + + + + + + + + 7 + NumberOfDevices + GREATER_THAN + + + + Page9 + DISPLAY + + + + + Page10 + Device 9 Details + + + + + DropDown + DeviceType9 + What type of device is this? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails9 + + + + FileLookup + MobileDetails9 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier9 + + + + Number + DeviceTier9 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType9 + EQUAL + + + + MobileDeviceNumber9 + + + + Number + MobileDeviceNumber9 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType9 + EQUAL + + + + MobileDeviceIMEI9 + + + + Text + MobileDeviceIMEI9 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType9 + NOT_EQUAL + + + + DeviceSerialNumber9 + + + + Text + DeviceSerialNumber9 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium9 + + + + Money + DevicePremium9 + -Hidden- Premium for Device 9 + + + + The value here + + + + + + + SmallTitle + Extras9 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo9 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo9 + + + + YesNo + LossYesNo9 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo9 + Liquid Damage + + + + The value here + + + + + + + + + 8 + NumberOfDevices + GREATER_THAN + + + + Page10 + DISPLAY + + + + + Page11 + Device 10 Details + + + + + DropDown + DeviceType10 + What type of device is this? + + + - Select - + - Select - + + + Mobile Phone + Mobile Phone + + + Tablet + Tablet + + + + + + + + + + + Mobile Phone + DeviceType + EQUAL + + + + MobileDetails10 + + + + FileLookup + MobileDetails10 + Please select the Device Make and Model + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DeviceTier10 + + + + Number + DeviceTier10 + -Hidden- Device Tier + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType10 + EQUAL + + + + MobileDeviceNumber10 + + + + Number + MobileDeviceNumber10 + Mobile Phone/Device Number + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType10 + EQUAL + + + + MobileDeviceIMEI10 + + + + Text + MobileDeviceIMEI10 + Mobile Phone/Device IMEI + + + + The value here + + + + + + + + + + + Mobile Phone + DeviceType10 + NOT_EQUAL + + + + DeviceSerialNumber10 + + + + Text + DeviceSerialNumber10 + Device Serial Number + + + + The value here + + + + + + + + + + + zzzzz + 2347ClientName + EQUAL + + + + DevicePremium10 + + + + Money + DevicePremium10 + -Hidden- Premium for Device 10 + + + + The value here + + + + + + + SmallTitle + Extras10 + <b>Extras Selected</b> + + + + The value here + + + + + + + YesNo + TheftYesNo10 + Theft + + + + The value here + + + + + + + + + + + Tablet + DeviceType + EQUAL + + + + LossYesNo10 + + + + YesNo + LossYesNo10 + Loss + + + + The value here + + + + + + + YesNo + LiquidYesNo10 + Liquid Damage + + + + The value here + + + + + + + + + 9 + NumberOfDevices + GREATER_THAN + + + + Page11 + DISPLAY + + + + + PageCalculation + Cover Details + + + + + Total + BasicPremiumTotal + <b>Basic Premium Total</b> + + + + The value here + + + + + + + Total + PackageDiscount + - Discount + + + + The value here + + + + + + + Total + TotalPremiumNet + <b>Total Premium (Net)</b> + + + + The value here + + + + + + + Total + IPT + + IPT + + + + The value here + + + + + + + Total + PolicyFee + + Policy Fee + + + + The value here + + + + + + + Total + TotalPremium + <b>Total Premium</b> + + + + The value here + + + + + + + Total + CommissionFromInsurer + <b>Commission From Insurer</b> + + + + The value here + + + + + + + Total + Commission + <b>Total Commission</b> + + + + The value here + + + + + + + Total + DueFromBroker + (Due From Broker) + + + + The value here + + + + + +
+ #### + false + + false +
\ No newline at end of file diff --git a/simple-demo.php b/simple-demo.php new file mode 100644 index 0000000..7a52485 --- /dev/null +++ b/simple-demo.php @@ -0,0 +1,27 @@ + \ No newline at end of file