TRULY naked code option
I can't be the only one. While you offer less 'styled' versions for generating various code, for those of us not interested in pre-styled code who wish to have total control over layout and styling, we have to spend a lot of time deconstructing endlessly nested code we don't want or need. I realize there are some very basic minimal requirements for things like validation functionality, but I'd love to see a 'naked' check box in the code generating panels that gives me this:
<form name="CheckoutWizard" method="post" onSubmit="wa_ajaxUpdate(); return false;">
<label for="Company_Name" class="" > Company:</label>
<input id="Company_Name" name="Company_Name" type="text" value="<?php echo(WA_coalesce(array(WA_getSavedFormValue("CheckoutWizard_NewFromBlank_Default","Company_Name"),(isset($_GET["invalid"])?ValidatedField("confirmcart","Company_Name"):"")))); ?>" class="" title="Please enter your company name.">
<label for="First_Name" class="" > First name:</label>
<input id="First_Name" name="First_Name" type="text" value="<?php echo(WA_coalesce(array(WA_getSavedFormValue("CheckoutWizard_NewFromBlank_Default","First_Name"),(isset($_GET["invalid"])?ValidatedField("confirmcart","First_Name"):"")))); ?>" class="" title="Please enter your first name" required="true">
<?php
if (ValidatedField('confirmcart','confirmcart')) {
if ((strpos((",".ValidatedField("confirmcart","confirmcart").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="First_Name_ServerError">Please enter your first name</span>
<?php //WAFV_Conditional confirm_cart.php confirmcart(1:)
}
}
}?>
etc....
Instead of this:
<form class="NewFromBlank_Default" id="CheckoutWizard_NewFromBlank_Default" name="CheckoutWizard_NewFromBlank_Default" method="post" onSubmit="wa_ajaxUpdate(); return false;">
<!--
WebAssist CSS Form Builder - Form v1
CC: eCommerce
CP: Checkout Wizard
TC: <New From Blank>
TP: Default
-->
<ul class="NewFromBlank_Default">
<li>
<fieldset class="NewFromBlank_Default" id="Billing">
<legend class="groupHeader">Billing</legend>
<ul class="formList">
<li class="formItem"> <span class="fieldsetDescription"> Required * </span> </li>
<li class="formItem">
<div class="formGroup">
<div class="lineGroup">
<div class="fullColumnGroup">
<label for="Company_Name" class="sublabel" > Company:</label>
<input id="Company_Name" name="Company_Name" type="text" value="<?php echo(WA_coalesce(array(WA_getSavedFormValue("CheckoutWizard_NewFromBlank_Default","Company_Name"),(isset($_GET["invalid"])?ValidatedField("confirmcart","Company_Name"):"")))); ?>" class="formTextfield_Large" tabindex="1" title="Please enter your company name.">
</div>
</div>
<div class="lineGroup">
<div class="columnGroup">
<label for="First_Name" class="sublabel" > First name:<span class="requiredIndicator"> *</span></label>
<input id="First_Name" name="First_Name" type="text" value="<?php echo(WA_coalesce(array(WA_getSavedFormValue("CheckoutWizard_NewFromBlank_Default","First_Name"),(isset($_GET["invalid"])?ValidatedField("confirmcart","First_Name"):"")))); ?>" class="formTextfield_Large" tabindex="2" title="Please enter your first name" required="true">
<?php
if (ValidatedField('confirmcart','confirmcart')) {
if ((strpos((",".ValidatedField("confirmcart","confirmcart").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="First_Name_ServerError">Please enter your first name</span>
<?php //WAFV_Conditional confirm_cart.php confirmcart(1:)
}
}
}?>
</div>