I have a customer field on the OCST page and it works fine but I want it to be required and turn red if it is blank when the customer hits the continue button. This is what I have to far.
<mvt:if expr="NOT g.YearMakeModei_Invalid">
<font color="red">
<b>Year, Make and Model of your bike:</b>
</font>
<mvt:else>
<b>Year, Make and Model of your bike:</b>
</mvt:if>
<input type="text" name="YearMakeModel" value= "" />
So when the page loads the text is red right now and I want it to be black until the customer hits the continue button to go to the next page. Since the page first loads with no text it shows red. And I don't want it to test for the expression until the customer hits the continue button. We are on the old MMUI system with this and I tried using code from my dev site but it didn't work.
<mvt:if expr="NOT g.YearMakeModei_Invalid">
<font color="red">
<b>Year, Make and Model of your bike:</b>
</font>
<mvt:else>
<b>Year, Make and Model of your bike:</b>
</mvt:if>
<input type="text" name="YearMakeModel" value= "" />
So when the page loads the text is red right now and I want it to be black until the customer hits the continue button to go to the next page. Since the page first loads with no text it shows red. And I don't want it to test for the expression until the customer hits the continue button. We are on the old MMUI system with this and I tried using code from my dev site but it didn't work.
Comment