Hi,
I have a field that is to contain a numeric field from a Lookup Rule (SQL table)
I also have a field "ValueDataType"that is populated that states type of numeric value (ie % or £ etc)
What I would like to do is change the "Text Before/After Field" entries to a "£/%/$/p.a." depending on value of "ValueDataType" field .... is this possible with javascript?
Below is the Field16 inspect code and it is this line I am trying to trap: <label class="cf-helptext un-help" for="Field16">%</label></div></li>
<li attr="Metric_Value" attrtype="text" name="q16" id="q16" class="ActualValue form-q label-left"><label class="cf-label" for="Field16">Metric Value</label><div class="cf-field ws-success"><input type="text" id="Field16" name="Field16" aria-label="Field16" class="singleline cf-small user-success" maxlength="4000" list="datalistField16" data-list-focus="true" vo="e" lookupalt="true" readonly="readonly">
<datalist id="datalistField16"></datalist>
<label class="cf-helptext un-help" for="Field16">%</label></div></li>
Many thanks