close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

TRULY naked code option

Thread began 3/24/2017 4:28 pm by Justin@AdventDesign | Last modified 3/25/2017 1:55 pm by Ray Borduin | 25 views | 1 replies |

Justin@AdventDesign

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:

php:
<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:

php:
<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">&nbsp;*</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>
Sign in to reply to this post

Ray BorduinWebAssist

Thanks for the suggestion. A lot of that html is to support some of the various design options. But we could add a "naked" option and disable all of the other styling features.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...