This is an automated email from the ASF dual-hosted git repository.
arunpati pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push:
new cda6bb2be FIXED: Moved asterisk sign from field input box to field
label and also added requir… (#259)
cda6bb2be is described below
commit cda6bb2bea0e78b9f31501d9f22e7ff69e53923e
Author: Arun Patidar <[email protected]>
AuthorDate: Fri May 22 18:31:43 2026 +0530
FIXED: Moved asterisk sign from field input box to field label and also
added requir… (#259)
…ed class for missing inputs.[OFBIZ-11220]
Fixed: Moved asterisk sign from field input box to field label and also
added required class for missing inputs.
(OFBIZ-11220)
Thanks: Pawan Verma, Rashi Dhagat and Mohammad Rehan Khan for your
suggestions and details.
Co-authored-by: arunpatidar <[email protected]>
---
ecommerce/template/order/QuickAnonCustSettings.ftl | 64 +++++++++++-----------
1 file changed, 32 insertions(+), 32 deletions(-)
diff --git a/ecommerce/template/order/QuickAnonCustSettings.ftl
b/ecommerce/template/order/QuickAnonCustSettings.ftl
index 0f8e87be7..66a269ea7 100644
--- a/ecommerce/template/order/QuickAnonCustSettings.ftl
+++ b/ecommerce/template/order/QuickAnonCustSettings.ftl
@@ -66,11 +66,11 @@ under the License.
<td width="72%"> </td>
</tr>
<tr>
- <td width="26%"
align="right"><div>${uiLabelMap.PartyFirstName}</div></td>
+ <td width="26%"
align="right"><div>${uiLabelMap.PartyFirstName}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="firstName"/>
- <input type="text" class="inputBox required"
name="firstName" id="firstName" value="${parameters.firstName!}" size="30"
maxlength="30"/>*<span id="advice-required-firstName" class="required"
style="display:none">(${uiLabelMap.CommonRequired})</span>
+ <input type="text" class="inputBox required"
name="firstName" id="firstName" value="${parameters.firstName!}" size="30"
maxlength="30"/><span id="advice-required-firstName" class="required"
style="display:none">(${uiLabelMap.CommonRequired})</span>
</td>
</tr>
<tr>
@@ -81,11 +81,11 @@ under the License.
</td>
</tr>
<tr>
- <td width="26%" align="right"><div>${uiLabelMap.PartyLastName}
</div></td>
+ <td width="26%"
align="right"><div>${uiLabelMap.PartyLastName}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="lastName"/>
- <input type="text" class="inputBox required" name="lastName"
value="${parameters.lastName!}" size="30" maxlength="30"/>*<span
id="advice-required-lastName" class="required"
style="display:none">(${uiLabelMap.CommonRequired})</span>
+ <input type="text" class="inputBox required" name="lastName"
value="${parameters.lastName!}" size="30" maxlength="30"/><span
id="advice-required-lastName" class="required"
style="display:none">(${uiLabelMap.CommonRequired})</span>
</td>
</tr>
<tr>
@@ -94,7 +94,7 @@ under the License.
<td width="72%"><div>[${uiLabelMap.CommonCountryCode}]
[${uiLabelMap.PartyAreaCode}] [${uiLabelMap.PartyContactNumber}]
[${uiLabelMap.PartyExtension}]</div></td>
</tr>
<tr>
- <td width="10%"
align="right"><div>${uiLabelMap.PartyHomePhone}</div></td>
+ <td width="10%"
align="right"><div>${uiLabelMap.PartyHomePhone}*</div></td>
<td width="2%"> </td>
<td width="88%">
<@fieldErrorsMulti fieldName1="homeCountryCode"
fieldName2="homeAreaCode" fieldName3="homeContactNumber" fieldName4="homeExt"/>
@@ -103,7 +103,7 @@ under the License.
<input type="text" class="inputBox required"
name="homeCountryCode" value="${parameters.homeCountryCode!}" size="4"
maxlength="10"/>
- <input type="text" class="inputBox required"
name="homeAreaCode" value="${parameters.homeAreaCode!}" size="4"
maxlength="10"/>
- <input type="text" class="inputBox required"
name="homeContactNumber" value="${parameters.homeContactNumber!}" size="15"
maxlength="15"/>
- - <input type="text" class="inputBox" name="homeExt"
value="${parameters.homeExt!}" size="6" maxlength="10"/> *
+ - <input type="text" class="inputBox" name="homeExt"
value="${parameters.homeExt!}" size="6" maxlength="10"/>
</div>
</td>
</tr>
@@ -119,12 +119,12 @@ under the License.
</td>
</tr>
<tr>
- <td width="26%"
align="right"><div>${uiLabelMap.PartyEmailAddress}</div></td>
+ <td width="26%"
align="right"><div>${uiLabelMap.PartyEmailAddress}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="emailAddress"/>
<input type="hidden" name="emailContactMechId"
value="${parameters.emailContactMechId!}"/>
- <input type="text" class="inputBox required validate-email"
name="emailAddress" value="${parameters.emailAddress!}" size="40"
maxlength="255"/> *
+ <input type="text" class="inputBox required validate-email"
name="emailAddress" value="${parameters.emailAddress!}" size="40"
maxlength="255"/>
</td>
</tr>
</table>
@@ -163,12 +163,12 @@ under the License.
</td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyAddressLine1}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyAddressLine1}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="shipToAddress1"/>
<input type="text" class="inputBox required" size="30"
maxlength="30" id="shipToAddress1" name="shipToAddress1"
value="${parameters.shipToAddress1!}" />
- *</td>
+ </td>
</tr>
<tr>
<td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyAddressLine2}</div></td>
@@ -178,19 +178,19 @@ under the License.
</td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyCity}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyCity}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="shipToCity"/>
<input type="text" class="inputBox required" size="30"
maxlength="30" id="shipToCity" name="shipToCity"
value="${parameters.shipToCity!}" />
- *</td>
+ </td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyState}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyState}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="shipToStateProvinceGeoId"/>
- <select name="shipToStateProvinceGeoId"
id="shipToStateProvinceGeoId" class="selectBox">
+ <select name="shipToStateProvinceGeoId"
id="shipToStateProvinceGeoId" class="selectBox required">
<#if (parameters.shipToStateProvinceGeoId)??>
<option>${parameters.shipToStateProvinceGeoId}</option>
<option
value="${parameters.shipToStateProvinceGeoId}">---</option>
@@ -199,29 +199,29 @@ under the License.
</#if>
${screens.render("component://common/widget/CommonScreens.xml#states")}
</select>
- *</td>
+ </td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyZipCode}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyZipCode}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="shipToPostalCode"/>
<input type="text" class="inputBox required" size="12"
maxlength="10" id="shipToPostalCode" name="shipToPostalCode"
value="${parameters.shipToPostalCode!}" />
- *</td>
+ </td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.CommonCountry}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.CommonCountry}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="shipToCountryGeoId"/>
- <select name="shipToCountryGeoId" id="shipToCountryGeoId"
class="selectBox">
+ <select name="shipToCountryGeoId" id="shipToCountryGeoId"
class="selectBox required">
<#if (parameters.shipToCountryGeoId)??>
<option>${parameters.shipToCountryGeoId}</option>
<option
value="${parameters.shipToCountryGeoId}">---</option>
</#if>
${screens.render("component://common/widget/CommonScreens.xml#countries")}
</select>
- *</td>
+ </td>
</tr>
</table>
</td>
@@ -258,12 +258,12 @@ under the License.
</td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyAddressLine1}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyAddressLine1}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="billToAddress1"/>
<input type="text" class="inputBox required"
id="billToAddress1" size="30" maxlength="30" name="billToAddress1"
value="${parameters.billToAddress1!}" />
- *</td>
+ </td>
</tr>
<tr>
<td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyAddressLine2}</div></td>
@@ -273,19 +273,19 @@ under the License.
</td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyCity}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyCity}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="billToCity"/>
<input type="text" class="inputBox required"
id="billToCity" size="30" maxlength="30" name="billToCity"
value="${parameters.billToCity!}" />
- *</td>
+ </td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyState}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyState}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="billToStateProvinceGeoId"/>
- <select name="billToStateProvinceGeoId"
id="billToStateProvinceGeoId" class="selectBox">
+ <select name="billToStateProvinceGeoId"
id="billToStateProvinceGeoId" class="selectBox required">
<#if (parameters.billToStateProvinceGeoId)??>
<option>${parameters.billToStateProvinceGeoId}</option>
<option
value="${parameters.billToStateProvinceGeoId}">---</option>
@@ -294,29 +294,29 @@ under the License.
</#if>
${screens.render("component://common/widget/CommonScreens.xml#states")}
</select>
- *</td>
+ </td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyZipCode}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.PartyZipCode}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="billToPostalCode"/>
<input type="text" class="inputBox required" size="12"
maxlength="10" id="billToPostalCode" name="billToPostalCode"
value="${parameters.billToPostalCode!}" />
- *</td>
+ </td>
</tr>
<tr>
- <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.CommonCountry}</div></td>
+ <td width="26%" align="right"
valign="middle"><div>${uiLabelMap.CommonCountry}*</div></td>
<td width="2%"> </td>
<td width="72%">
<@fieldErrors fieldName="billToCountryGeoId"/>
- <select name="billToCountryGeoId" id="billToCountryGeoId"
class="selectBox">
+ <select name="billToCountryGeoId" id="billToCountryGeoId"
class="selectBox required">
<#if (parameters.billToCountryGeoId)??>
<option>${parameters.billToCountryGeoId}</option>
<option
value="${parameters.billToCountryGeoId}">---</option>
</#if>
${screens.render("component://common/widget/CommonScreens.xml#countries")}
</select>
- *</td>
+ </td>
</tr>
</table>
</td>