The following code is for a form field that is not marked as *Required and GTranslate opens the editor and works normally.
- Code: Select all
<div id="form-row-phone" class="form-group gcore-form-row">
<label class="control-label gcore-label-left" for="phone">
<img class="gicons" width="12" height="12" md5="545e7b58e39d0150ada23844910522c8" title="Phone Number:" src="/gtranslate/edit.png">
<img class="gicons" width="12" height="12" md5cart="545e7b58e39d0150ada23844910522c8" title="Add to cart" src="/gtranslate/cart.png">
<span name="545e7b58e39d0150ada23844910522c8">Numero di telefono:</span>
</label>
<div id="fin-phone" class="gcore-input gcore-display-table">
<input id="phone" class="form-control A" type="text" data-tooltip="" data-load-state="" data-inputmask="" style="" title="" size="" maxlength="" placeholder="" value="" name="phone">
</div>
</div>
The following code is for a form field that is marked as *Required and GTranslate does nothing when the pencil icon is clicked.
- Code: Select all
<div id="form-row-ageegg" class="form-group gcore-form-row">
<label class="control-label gcore-label-left required_label" for="ageegg">
<img class="gicons" width="12" height="12" md5="f2a3a7966ebe331d8fffe59b79bb8491" title="Date of Birth:" src="/gtranslate/edit.png">
<img class="gicons" width="12" height="12" md5cart="f2a3a7966ebe331d8fffe59b79bb8491" title="Add to cart" src="/gtranslate/cart.png">
<span name="f2a3a7966ebe331d8fffe59b79bb8491">Data di nascita:</span>
<i class="fa fa-asterisk" style="color:#36A49D; font-size:9px; vertical-align:top;"></i>
</label>
<div id="fin-ageegg" class="gcore-input gcore-display-table">
<input id="ageegg" class="validate['required'] form-control A" type="text" data-tooltip="" data-load-state="" data-inputmask="" style="" title="" size="" maxlength="" placeholder="" value="" name="ageegg">
</div>
</div>
Except for the label and md5 id codes, I've changed the code in the few places that it's different in Firebug to make the code for the required form field the same as the one that is editable but it made no difference and clicking on the pencil icon still would not open the GTranslate editor.