Revision [2583]

Last edited on 2013-08-14 05:49:28 by PhilDaintree
Additions:
++ImportBankTransAnalysis.php++
++ImportBankTrans.php++
++PO_SelectOSPurchOrder.php++
++PO_SelectPurchOrder.php++
++Prices.php++
Deletions:
ImportBankTransAnalysis.php
ImportBankTrans.php
PO_SelectOSPurchOrder.php
PO_SelectPurchOrder.php
Prices.php


Revision [2582]

Edited on 2013-07-30 06:42:40 by PhilDaintree
Additions:
++Labels.php++
++Locations.php++
Deletions:
Labels.php
Locations.php


Revision [2581]

Edited on 2013-07-30 06:34:28 by PhilDaintree
Additions:
++NoSalesItems.php++
++OffersReceived.php++
++OrderDetails.php++
++OutstandingGRNs.php++
++PageSecurity.php++
++PaymentAllocations.php++
++PaymentMethods.php++
++PcTypeTabs.php++
++PDFBankingSummary.php++
++PDFDeliveryDifferences.php++
++PDFDIFOT.php++
++PDFGLJournal.php++
++PDFGrn.php++
++PDFLowGP.php++
++PDFOrdersInvoiced.php++
++PDFOrderStatus.php++
++PDFPeriodStockTransListing.php++
++PDFPickingList.php++
++PDFPriceList.php++
++PDFPrintLabel.php++
Deletions:
NoSalesItems.php
OffersReceived.php
OrderDetails.php
OutstandingGRNs.php
PageSecurity.php
PaymentAllocations.php
PaymentMethods.php
PcTypeTabs.php
PDFBankingSummary.php
PDFDeliveryDifferences.php
PDFDIFOT.php
PDFGLJournal.php
PDFGrn.php
PDFLowGP.php
PDFOrdersInvoiced.php
PDFOrderStatus.php
PDFPeriodStockTransListing.php
PDFPickingList.php
PDFPriceList.php
PDFPrintLabel.php


Revision [2580]

Edited on 2013-07-30 04:40:28 by PhilDaintree
Additions:
++Payments.php++
++PaymentTerms.php++
++PcAssignCashToTab.php++
++PcAuthorizeExpenses.php++
++PcClaimExpensesFromTab.php++
++PcExpenses.php++
++PcExpensesTypeTab.php++
++PcReportTab.php++
++PcTabs.php++
Deletions:
Payments.php
PaymentTerms.php
PcAssignCashToTab.php
PcAuthorizeExpenses.php
PcClaimExpensesFromTab.php
PcExpenses.php
PcExpensesTypeTab.php
PcReportTab.php
PcTabs.php


Revision [2579]

Edited on 2013-07-25 02:34:25 by PhilDaintree
Additions:
++MaintenanceReminders.php++
++MaintenanceTasks.php++
++MaintenanceUserSchedule.php++
++Manufacturers.php++
++MaterialsNotUsed.php++
++MRPCalendar.php++
++MRPCreateDemands.php++
++MRPDemands.php++
++MRPDemandTypes.php++
++MRP.php++
++MRPPlannedPurchaseOrders.php++
++MRPPlannedWorkOrders.php++
++MRPReport.php++
++MRPReschedules.php++
++MRPShortages.php++
++WWW_Users.php++
Deletions:
MaintenanceReminders.php
MaintenanceTasks.php
MaintenanceUserSchedule.php
Manufacturers.php
MaterialsNotUsed.php
MRPCalendar.php
MRPCreateDemands.php
MRPDemands.php
MRPDemandTypes.php
MRP.php
MRPPlannedPurchaseOrders.php
MRPPlannedWorkOrders.php
MRPReport.php
MRPReschedules.php
MRPShortages.php
WWW_Users.php


Revision [2578]

Edited on 2013-07-17 17:04:22 by PhilDaintree
Additions:
~2. sortTable functions now sorts tables by column - need to add
I think the style needs some embellishing here though
Using this combination of html5, titles and bits of Tim's nice javascript file for number/integer and table sorting should give us a large leap in usability.
++DiscountCategories.php++
++DiscountMatrix.php++
++EmailConfirmation.php++
++EmailCustTrans.php++
++Factors.php++
++FixedAssetCategories.php++
++FixedAssetDepreciation.php++
++FixedAssetItems.php++
++FixedAssetLocations.php++
++FixedAssetRegister.php++
++FixedAssetTransfer.php++
++GLAccountCSV.php++
++GLAccountInquiry.php++
++GLAccountReport.php++
++GLAccounts.php++
++GLBalanceSheet.php++
++GLBudgets.php++
++GLCodesInquiry.php++
++GLJournalInquiry.php++
++GLJournal.php++
++GLProfit_Loss.php++
++GLTagProfit_Loss.php++
++GLTags.php++
++GLTransInquiry.php++
++GLTrialBalance_csv.php++
++GoodsReceived.php++
Deletions:
~2. A new class for minlength too which checks for a field being at least a certain number of characters - there is no point to this unless we are checking for more than 1 character as the required="required" covers this nicely in any event. However, there are many occassions where we have a reality check on a string of a certain length - better to use Tim's javascript check.
~3. sortTable functions now sorts tables by column - need to add
I can't get this working though...
Using this combination of html5, titles and Tim's nice javascript file for number/integer/minlength should give us a large leap in usability.
DiscountCategories.php
DiscountMatrix.php
EmailConfirmation.php
EmailCustTrans.php
Factors.php
FixedAssetCategories.php
FixedAssetDepreciation.php
FixedAssetItems.php
FixedAssetLocations.php
FixedAssetRegister.php
FixedAssetTransfer.php
GLAccountCSV.php
GLAccountInquiry.php
GLAccountReport.php
GLAccounts.php
GLBalanceSheet.php
GLBudgets.php
GLCodesInquiry.php
GLJournalInquiry.php
GLJournal.php
GLProfit_Loss.php
GLTagProfit_Loss.php
GLTags.php
GLTransInquiry.php
GLTrialBalance_csv.php
GoodsReceived.php


Revision [2577]

Edited on 2013-07-14 06:31:27 by PhilDaintree
Additions:
<input type="text" pattern="[0-9,\.]*" class="number" name="SomeNumber" />
All number fields should also be members of the class="number" so our javascript prevents text input too as the html5 allows the numbers to be typed but shows a message once the error has occurred. I really not sure there is much benefit in adding the pattern for numbers given we are already trapping them with Tim's javascript.
The pattern can also be used to add checking for the dodgy characters by restricting to pattern="[a-zA-Z0-9_]*" handy for supplier item, customer codes.
The field that should have the focus on the form needs to have the **//autofocus//** attribute set too - with
autofocus="autofocus"
~3. sortTable functions now sorts tables by column - need to add
I can't get this working though...
Deletions:
<input type="text" pattern="[0-9,\.]*([,\.])[0-9]*" class="number" name="SomeNumber" />
All number fields should also be members of the class="number" so our javascript prevents text input too as the html5 allows the numbers to be typed but shows a message once the error has occurred.
The pattern can also be used to add checking for the dodgy characters by restricting to pattern="[a-zA-Z0-9_\-\ ]*" handy for supplier item, customer codes.
The field that should have the focus on the form needs to have the **//autofocus//** attribute set too - with autofocus="autofocus"
~3. makeConfirm function now accepts a title and URL in a much nicer format. Need to make all calls to Confirm - makeConfirm sending the message, title, url
~4. sortTable functions now sorts tables by column - need to add


Revision [2576]

Edited on 2013-07-14 06:26:52 by PhilDaintree
Additions:
++BOMIndentedReverse.php++
++BOMInquiry.php++
++BOMListing.php++
++BOMs.php++
++COGSGLPostings.php++
++CompanyPreferences.php++
++ConfirmDispatchControlled_Invoice.php++
++ConfirmDispatch_Invoice.php++
++ContractBOM.php++
++ContractCosting.php++
++ContractOtherReqts.php++
++Contracts.php++
++CopyBOM.php++
++CounterReturns.php++
++CounterSales.php++
++Credit_Invoice.php++
++CreditItemsControlled.php++
++CreditStatus.php++
++Currencies.php++
++CustEDISetup.php++
++CustLoginSetup.php++
++CustomerAllocations.php++
++CustomerBranches.php++
++CustomerInquiry.php++
++CustomerPurchases.php++
++CustomerReceipt.php++
++Customers.php++
++CustomerTransInquiry.php++
++CustomerTypes.php++
++CustWhereAlloc.php++
++DailyBankTransactions.php++
++DailySalesInquiry.php++
++DebtorsAtPeriodEnd.php++
++DeliveryDetails.php++
++Departments.php++
Deletions:
++BOMIndentedReverse.php
BOMInquiry.php
BOMListing.php
BOMs.php
COGSGLPostings.php
companies
CompanyPreferences.php
ConfirmDispatchControlled_Invoice.php
ConfirmDispatch_Invoice.php
ContractBOM.php
ContractCosting.php
ContractOtherReqts.php
Contracts.php
CopyBOM.php
CounterReturns.php
CounterSales.php
Credit_Invoice.php
CreditItemsControlled.php
CreditStatus.php
Currencies.php
CustEDISetup.php
CustLoginSetup.php
CustomerAllocations.php
CustomerBranches.php
CustomerInquiry.php
CustomerPurchases.php
CustomerReceipt.php++
Customers.php
CustomerTransInquiry.php
CustomerTypes.php
CustWhereAlloc.php
DailyBankTransactions.php
DailySalesInquiry.php
DebtorsAtPeriodEnd.php
DeliveryDetails.php
Departments.php


Revision [2575]

Edited on 2013-07-14 05:42:01 by PhilDaintree
Additions:
++BOMIndentedReverse.php
CustomerReceipt.php++
Deletions:
BOMIndentedReverse.php
config.distrib.php
config.php
CustomerReceipt.php


Revision [2573]

Edited on 2013-07-13 20:11:48 by PhilDaintree
Additions:
The pattern can also be used to add checking for the dodgy characters by restricting to pattern="[a-zA-Z0-9_\-\ ]*" handy for supplier item, customer codes.


Revision [2572]

Edited on 2013-07-10 01:23:37 by PhilDaintree
Additions:
I like this because it is small 12kb and efficient and we are not stuck with 200k of redundant javascript - as we are with jQuery. The snag with it though is that it is only English messages from the javascript
~1. It now allows a new class "integer" so we should use that where possible too - this only allows positive integers so quite useful.
th.SortableColumn {
~cursor: s-resize;
}
Deletions:
I like this because it is small and efficient and we are not stuck with 200k of redundant javascript - as we are with jQuery. The snag with it though is that it is only English messages from the javascript
~1. It now allows a new class integer so we should use that where possible too - this only allows positive integers so quite useful.


Revision [2571]

Edited on 2013-07-10 00:48:50 by PhilDaintree
Additions:
~4. sortTable functions now sorts tables by column - need to add
%%(html)
<th class="SortableColumn" onclick="SortSelect(this)">
for those columns that need to be sortable
and the style sheets need to have a class style for "SortableColumn"
Deletions:
~4. sortTable functions now sorts tables by column.


Revision [2570]

Edited on 2013-07-10 00:05:16 by PhilDaintree
Additions:
I like this because it is small and efficient and we are not stuck with 200k of redundant javascript - as we are with jQuery. The snag with it though is that it is only English messages from the javascript
Using this combination of html5, titles and Tim's nice javascript file for number/integer/minlength should give us a large leap in usability.
Deletions:
I like this because it is small and efficient and we are not stuck with 200k of redundant javascript - as we are with jQuery.
Using this combination of html5 and Tims


Revision [2569]

Edited on 2013-07-10 00:00:39 by PhilDaintree
Additions:
<input type="text" pattern="[0-9,\.]*([,\.])[0-9]*" class="number" name="SomeNumber" />
Deletions:
<input type="text" pattern="[0-9],. " class="number" name="SomeNumber" />


Revision [2568]

Edited on 2013-07-09 22:24:34 by PhilDaintree
Additions:
Using this combination of html5 and Tims


Revision [2567]

Edited on 2013-07-09 22:23:43 by PhilDaintree
Additions:
===Improvements to Tim's javascript file===
I like this because it is small and efficient and we are not stuck with 200k of redundant javascript - as we are with jQuery.
~1. It now allows a new class integer so we should use that where possible too - this only allows positive integers so quite useful.
~2. A new class for minlength too which checks for a field being at least a certain number of characters - there is no point to this unless we are checking for more than 1 character as the required="required" covers this nicely in any event. However, there are many occassions where we have a reality check on a string of a certain length - better to use Tim's javascript check.
~3. makeConfirm function now accepts a title and URL in a much nicer format. Need to make all calls to Confirm - makeConfirm sending the message, title, url
~4. sortTable functions now sorts tables by column.


Revision [2566]

Edited on 2013-07-09 19:52:46 by PhilDaintree
Additions:
++AgedSuppliers.php++
++AuditTrail.php++
++BackupDatabase.php++
++BankAccounts.php++
++BankMatching.php++
++BankReconciliation.php++
++BOMExtendedQty.php++
++BOMIndented.php++
Deletions:
AgedSuppliers.php
AuditTrail.php
BackupDatabase.php
BankAccounts.php
BankMatching.php
BankReconciliation.php
BOMExtendedQty.php
BOMIndented.php


Revision [2565]

Edited on 2013-07-09 19:51:00 by PhilDaintree
Additions:
expressed in php as:
Deletions:
expressed in php as:++


Revision [2564]

Edited on 2013-07-09 19:50:06 by PhilDaintree
Additions:
~The number of decimal places of the customer's currency when entering an FX price
Deletions:
~The number of decimal places of the customer's currency when entering an FX price++


Revision [2563]

Edited on 2013-07-09 19:49:15 by PhilDaintree
Additions:
++


Revision [2562]

Edited on 2013-07-09 19:48:24 by PhilDaintree
Additions:
more commonly the number of decimal places will be one of
~$_SESSION['CurrDeciamlPlaces'] - where the number is in the home currency
Deletions:
++%%(php)
%%++
++more commonly the number of decimal places will be one of++
++~$_SESSION['CurrDeciamlPlaces'] - where the number is in the home currency


Revision [2561]

Edited on 2013-07-09 19:47:25 by PhilDaintree
Additions:
%%++
++more commonly the number of decimal places will be one of++
++~$_SESSION['CurrDeciamlPlaces'] - where the number is in the home currency
After researching //<input type="number"// it is clear we have an issue with decimal points and thousands separators which are not handled that well in different browsers and if we wish to retain this nice feature we need to just use
<input type="text" pattern="[0-9],. " class="number" name="SomeNumber" />
All number fields should also be members of the class="number" so our javascript prevents text input too as the html5 allows the numbers to be typed but shows a message once the error has occurred.
Deletions:
more commonly the number of decimal places will be one of
~$_SESSION['CurrDeciamlPlaces'] - where the number is in the home currency
All number fields should also be members of the class="number" so our javascript prevents text input too.


Revision [2560]

Edited on 2013-07-09 19:42:04 by PhilDaintree
Additions:
++input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and **//step//**. ++
++Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2
expressed in php as:++
++%%(php)
~The number of decimal places of the customer's currency when entering an FX price++
Deletions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and **//step//**.
Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2
expressed in php as:
~The number of decimal places of the customer's currency when entering an FX price


Revision [2559]

Edited on 2013-07-08 19:31:38 by PhilDaintree
Additions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and **//step//**.
Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2
Deletions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and **//step//**. !!Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2!!


Revision [2558]

Edited on 2013-07-08 19:31:05 by PhilDaintree
Additions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and **//step//**. !!Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2!!
Deletions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and **//step//**. ##Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2##


Revision [2557]

Edited on 2013-07-08 19:30:39 by PhilDaintree
Additions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and **//step//**. ##Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2##
expressed in php as:
Deletions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and step. Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2 expressed in php as


Revision [2556]

Edited on 2013-07-08 19:28:52 by PhilDaintree

No Differences

Revision [2555]

Edited on 2013-07-08 19:18:22 by PhilDaintree
Additions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and step. Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of negative 2 expressed in php as
pow(10,-2);
Deletions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and step. Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of 2 expressed in php as
pow(10,2);


Revision [2554]

Edited on 2013-07-08 19:17:52 by PhilDaintree
Additions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and step. Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter a step="0.01" or 10 to the power of 2 expressed in php as
pow(10,2);
So for a number with 2 decimal places we need to enter the following:
Deletions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and step. Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter


Revision [2553]

Edited on 2013-07-08 19:15:03 by PhilDaintree
Additions:
with **//placeholder//** and **//required//** attributes as necessary.
e.g.
echo '<input type="tel" name="PhoneNo" required="required" placeholder="' . _('Customer telephone number') . '" title="' . _('Enter the customer telephone number') . '" />';
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//** and step. Note that step is particularly important as the default step is 1 and where we need to put in a number with 2 decimal places we need to enter
%% (php)
echo '<input type="number" step="' . pow(10,-2) . '" name="SomeNumberWith2DeciamlPlaces" />
more commonly the number of decimal places will be one of
~$_SESSION['CurrDeciamlPlaces'] - where the number is in the home currency
~The number of decimal places that the stock item is held to when entering a quantity
~The number of decimal places of the customer's currency when entering an FX price
The field that should have the focus on the form needs to have the **//autofocus//** attribute set too - with autofocus="autofocus"
<td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" required="required" autofocus="autofocus" value="' . $_POST['AreaCode'] . '" size="3" maxlength="3" title="' . _('Enter the sales area code - up to 3 characters are allowed') . '" /></td>
<td><input tabindex="2" ' . (in_array('AreaDescription',$Errors) ? 'class="inputerror"' : '' ) .' type="text" required="required" name="AreaDescription" value="' . $_POST['AreaDescription'] .'" size="26" maxlength="25" title="' . _('Enter the description of the sales area') . '" /></td>
Deletions:
with **//placeholder//** and **//required//** attributes as necessary
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//**
The field that should have the focus on the form needs to have the **//autofocus//** attribute set too.
<td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" required autofocus value="' . $_POST['AreaCode'] . '" size="3" maxlength="3" title="' . _('Enter the sales area code - up to 3 characters are allowed') . '" /></td>
<td><input tabindex="2" ' . (in_array('AreaDescription',$Errors) ? 'class="inputerror"' : '' ) .' type="text" required name="AreaDescription" value="' . $_POST['AreaDescription'] .'" size="26" maxlength="25" title="' . _('Enter the description of the sales area') . '" /></td>


Revision [2552]

Edited on 2013-07-06 06:30:22 by PhilDaintree
Deletions:
ShopParameters (puppypc32158's conflicted copy 2013-07-03).php
sql
xmlrpc
Z_BottomUpCosts.php
Z_ChangeBranchCode.php
Z_ChangeCustomerCode.php
Z_ChangeGLAccountCode.php
Z_ChangeLocationCode.php
Z_ChangeStockCategory.php
Z_ChangeStockCode.php
Z_ChangeSupplierCode.php
Z_CheckAllocationsFrom.php
Z_CheckAllocs.php
Z_CheckDebtorsControl.php
Z_CheckGLTransBalance.php
Z_ClearPOBackOrders.php
Z_CreateChartDetails.php
Z_CreateCompany.php
Z_CreateCompanyTemplateFile.php
Z_CurrencyDebtorsBalances.php
Z_CurrencySuppliersBalances.php
Z_DataExport.php
Z_DeleteCreditNote.php
Z_DeleteInvoice.php
Z_DeleteOldPrices.php
Z_DeleteSalesTransActions.php
Z_DescribeTable.php
Z_ImportChartOfAccounts.php
Z_ImportFixedAssets.php
Z_ImportGLAccountGroups.php
Z_ImportGLAccountSections.php
Z_ImportGLTransactions.php
Z_ImportPartCodes.php
Z_ImportPriceList.php
Z_ImportStocks.php
Z_ItemsWithoutPicture.php
Z_MakeNewCompany.php
Z_MakeStockLocns.php
Z_poAddLanguage.php
Z_poAdmin.php
Z_poEditLangHeader.php
Z_poEditLangModule.php
Z_poEditLangRemaining.php
Z_poRebuildDefault.php
Z_poRebuildDefault (puppypc32158's conflicted copy 2013-06-19).php
Z_poRebuildDefault (puppypc32158's conflicted copy 2013-06-24).php
Z_ReApplyCostToSA.php
Z_RePostGLFromPeriod.php
Z_ReverseSuppPaymentRun.php
Z_SalesIntegrityCheck.php
Z_UpdateChartDetailsBFwd.php
Z_Upgrade_3.01-3.02.php
Z_Upgrade_3.04-3.05.php
Z_Upgrade_3.05-3.06.php
Z_Upgrade_3.07-3.08.php
Z_Upgrade_3.08-3.09.php
Z_Upgrade_3.09-3.10.php
Z_Upgrade_3.10-3.11.php
Z_Upgrade3.10.php
Z_Upgrade_3.11-4.00.php
Z_UploadForm.php
Z_UploadResult.php


Revision [2551]

Edited on 2013-07-05 23:27:24 by PhilDaintree
Additions:
input type="number" also need to have appropriate **//min="x"//** and **//max="y"//**
Deletions:
input type="number" also need to have appropriate min= and max=


Revision [2550]

Edited on 2013-07-05 23:26:12 by PhilDaintree
Additions:
Existing forms need to be modified to take advantage of the new input types - changing <input type="text" > tags to <input type= :
Deletions:
Existing forms need to be modified to take advantage of the new input types


Revision [2549]

Edited on 2013-07-05 23:25:06 by PhilDaintree
Additions:
~**//number//**
~**//tel//**
~**//url//**
~**//email//**
Deletions:
~**//number//**
~**//tel//**
~**//url//**
~**//email//**


Revision [2548]

Edited on 2013-07-05 23:24:24 by PhilDaintree
Additions:
~**//number//**
~**//tel//**
~**//url//**
~**//email//**
Deletions:
~-number
~-tel
~-url
~-email


Revision [2547]

Edited on 2013-07-05 23:23:09 by PhilDaintree
Additions:
~-number
~-tel
~-url
~-email
with **//placeholder//** and **//required//** attributes as necessary
Also all input elements need to have **//title//** attributes - defined using gettext strings to set spelling out exactly what is required in the field.
The field that should have the focus on the form needs to have the **//autofocus//** attribute set too.
Deletions:
-number
-tel
-url
-email
with placeholder and required attributes as necessary
Also all input elements need to have title attributes - defined using gettext strings to set spelling out exactly what is required in the field.
The field that should have the focus on the form needs to have the autofocus attribute set too.


Revision [2546]

Edited on 2013-07-05 23:03:54 by PhilDaintree
Additions:
Example: Areas.php
change
%%(php)
<td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength="3" /></td>
<td><input tabindex="2" ' . (in_array('AreaDescription',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaDescription" value="' . $_POST['AreaDescription'] .'" size="26" maxlength="25" /></td>
%%
to
%%(php)
<td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" required autofocus value="' . $_POST['AreaCode'] . '" size="3" maxlength="3" title="' . _('Enter the sales area code - up to 3 characters are allowed') . '" /></td>
<td><input tabindex="2" ' . (in_array('AreaDescription',$Errors) ? 'class="inputerror"' : '' ) .' type="text" required name="AreaDescription" value="' . $_POST['AreaDescription'] .'" size="26" maxlength="25" title="' . _('Enter the description of the sales area') . '" /></td>
%%
------
Scripts to Modify
++Areas.php++
Deletions:
Areas.php


Revision [2545]

Edited on 2013-07-05 22:55:07 by PhilDaintree
Deletions:
build
css
doc
favicon.ico
flags
includes
install
javascripts
locale
logo_server.jpg
PO_Header (puppypc32158's conflicted copy 2013-06-24).php
PO_Items (puppypc32158's conflicted copy 2013-06-20).php
PO_PDFPurchOrder (puppypc32158's conflicted copy 2013-06-24).php
reportwriter


Revision [2544]

Edited on 2013-07-05 22:53:14 by PhilDaintree
Additions:
++AccountGroups.php++
++AccountSections.php++
++AddCustomerContacts.php++
++AddCustomerNotes.php++
++AddCustomerTypeNotes.php++
++AgedDebtors.php++
Deletions:
--AccountGroups.php--
--AccountSections.php--
--AddCustomerContacts.php--
--AddCustomerNotes.php--
--AddCustomerTypeNotes.php--
--AgedDebtors.php--


Revision [2543]

The oldest known version of this page was created on 2013-07-05 22:50:22 by PhilDaintree
Valid XHTML :: Valid CSS: :: Powered by WikkaWikiGet webERP Accounting & Business Management at SourceForge.net. Fast, secure and Free Open Source software downloads