anchor.diff:  <% content_for :content do %>
     <%= javascript_tag do %>
       initializeExternalTypeSelector();
  +
  +    function onExternalIdChange() {
  +      var value = $(this).val();
  +      $("#save_and_export").prop("disabled", value != "");
  +    }
  +
  +    $(document).on("change", "#donor_external_id", onExternalIdChange);
  +    $(document).on("keyup", "#donor_external_id", onExternalIdChange);
  +
  +    var externalIdGuard = $.guard("#donor_external_id").using("never").message("This is required when not exporting.")
  +
  +    $(document).on("click", "#save", function(e) {
  +      var valid = $(this).parents("form:first").guard();
  +      var externalId = $("#donor_external_id").val();
  +
  +      if (!$.guards.isPresent(externalId)) {
  +        externalIdGuard.triggerError("#donor_external_id");
  +
  +        if (valid) {
  +          $("#donor_external_id").focus();
  +        }
  +
  +        valid = false;
  +      }
  +
  +      if (!valid) {
  +        e.preventDefault();
  +      }
  +    });
     <% end %>
   
     <div>
       <ul class="nav nav-pills" role="tablist">
         <li role="presentation" class="active"><a href="#netsuite-import" aria-controls="netsuite-import" role="tab" data-toggle="pill">Import From NetSuite</a></li>
  -      <li role="presentation"><a href="#export-to-netsuite" aria-controls="export-to-netsuite" role="tab" data-toggle="pill">Export To NetSuite</a></li>
  -      <li role="presentation"><a href="#manual-creation" aria-controls="manual-creation" role="tab" data-toggle="pill">Create Without NetSuite</a></li>
  +      <li role="presentation"><a href="#manual-creation" aria-controls="manual-creation" role="tab" data-toggle="pill">Create</a></li>
       </ul>
   
       <br />
  
positive.code:               <div class="col-xs-12 col-sm-3">
                  <div class="form-group">
                    <%= f.label :external_id, "External Id" %>
                    <%= f.number_field :external_id, class: "form-control", data: { guard: "required" } %>
                  </div>
                </div>
  
  
negative.code: 
            <div class="row">
              <div class="col-xs-12 col-sm-9">
                <%= f.submit "Save", id: "save", class: "btn btn-primary" %>
                <%= f.button "Save and Export to NetSuite", id: "save_and_export", class: "btn btn-primary", type: "submit", name: "save_and_export", value: "true" %>
                <%= link_to "Cancel", donors_path, class: "btn btn-default" %>
              </div>
            </div>
  