I am using the workaround posted in the form to make 2 text input fields in my form a readonly input and it works just fine, just notice that these 2 readonly fields becomes editable after the form is submitted with some missing or wrong data!!!!
I tested it over 10 times, the fields are NOT editable as long as the form isn't yet submitted, left some fields blank and submitted, the error messages appeared, and, bingo! the 2 readonly fields are now editable!!!!
What's wrong with this??