Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/plugins/authorizenet/authorizenet/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ function plg_auth_showHide()
<?php echo JText::_('FIRST_NAME') . JText::_('PLG_PAYMENT_AUTHORIZENET_REQUIRED_MARK'); ?>
</label>
<div class="controls">
<input class="inputbox required" id="cardfname" type="text" name="cardfname" size="35" value="<?php echo !empty($userInfo['firstname']) ?$userInfo['firstname']:'';?>" />
<input class="inputbox required" id="cardfname" type="text" name="cardfname" size="35" value="<?php echo !empty($userInfo['firstname']) ?$userInfo['firstname']:'';?>" pattern="[a-zA-Z0-9\s\.]+"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deepgawade89 In french the name can be - Melodene D'Souza . and this should get accepted

</div>
</div>

<div class="control-group">
<label for="cardlname" class="control-label">
<?php echo JText::_('LAST_NAME') . JText::_('PLG_PAYMENT_AUTHORIZENET_REQUIRED_MARK'); ?>
</label>
<div class="controls"><input class="inputbox required" id="cardlname" type="text" name="cardlname" size="35" value="<?php echo !empty($userInfo['lastname']) ?$userInfo['lastname']:''; ?>" /></div>
<div class="controls"><input class="inputbox required" id="cardlname" type="text" name="cardlname" size="35" value="<?php echo !empty($userInfo['lastname']) ?$userInfo['lastname']:''; ?>" pattern="[a-zA-Z0-9\s\.]+"/></div>
</div>

<div class="control-group">
Expand Down
4 changes: 2 additions & 2 deletions code/plugins/authorizenet/authorizenet/tmpl/default_bs3.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ function plg_auth_showHide()
<div id="tj_payGway_billInfo" style="display:<?php echo $plg_billStyle; ?>">
<div class="form-group">
<label for="cardfname" class="col-sm-3 col-xs-12 control-label"><?php echo JText::_( 'FIRST_NAME' ) . JText::_('PLG_PAYMENT_AUTHORIZENET_REQUIRED_MARK'); ?></label>
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-12"><input class="inputbox required" id="cardfname" type="text" name="cardfname" size="35" value="<?php echo !empty($userInfo['firstname']) ?$userInfo['firstname']:'' ;?>" /></div>
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-12"><input class="inputbox required" id="cardfname" type="text" name="cardfname" size="35" value="<?php echo !empty($userInfo['firstname']) ?$userInfo['firstname']:'' ;?>" pattern="[a-zA-Z0-9\s\.]+"/></div>
</div>
<div class="form-group">
<label for="cardlname" class="col-sm-3 col-xs-12 control-label"><?php echo JText::_( 'LAST_NAME' ) . JText::_('PLG_PAYMENT_AUTHORIZENET_REQUIRED_MARK'); ?></label>
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-12"><input class="inputbox required" id="cardlname" type="text" name="cardlname" size="35" value="<?php echo !empty($userInfo['lastname']) ?$userInfo['lastname']:'' ;?>" /></div>
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-12"><input class="inputbox required" id="cardlname" type="text" name="cardlname" size="35" value="<?php echo !empty($userInfo['lastname']) ?$userInfo['lastname']:'' ;?>" pattern="[a-zA-Z0-9\s\.]+"/></div>
</div>
<div class="form-group">
<label for="cardaddress1" class="col-sm-3 col-xs-12 control-label"><?php echo JText::_( 'STREET_ADDRESS' ) . JText::_('PLG_PAYMENT_AUTHORIZENET_REQUIRED_MARK'); ?></label>
Expand Down