View Single Post
Old 02-16-2020, 08:34 AM  
2MuchMark
Too lazy to set a custom title
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 49,949
Thanks for the suggestions, but none of them did what I was looking for.

Here's a better description of the problem. I have form that people can access and modify as they need to. One of the form elements is a commission field, that they cannot edit.

It looks like this



The code that displays it looks like this

<input id="Commission" name="Commission" type="text"
placeholder="Commission" class="form-control valid"
maxlength="10" value="" disabled="disabled">

Input for this field is already disabled and that's fine, it works, but it still LOOKS like a field that can be edited.

All I really want it to say is "Commission: 50%"

How do I simply show the value of "Commission" without making it an input field?
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote