identical ui-only formula fields - one works, one doesn't.

  • 1
  • Problem
  • Updated 3 years ago
  • Acknowledged
  • (Edited)
These two fields:

<field id="password_check" uionly="true" displaytype="FORMULA" label="Verification" readonly="true" returntype="BOOLEAN" defaultValue="false">
     <formula>{{{password}}}=={{{PIN__c}}}</formula>
</field>
<field id="email_check" uionly="true" displaytype="FORMULA" label="Verification" readonly="true" returntype="BOOLEAN" defaultValue="false">      <formula>{{{email}}}=={{{Support_Email__c}}}</formula>
</field>

which reference these field pairs:

<field id="password" uionly="true" displaytype="TEXT" label="PIN" length="50"/>
<field id="PIN__c"/>

<field id="Support_Email__c"/>
<field id="email" uionly="true" displaytype="TEXT" label="Email" length="80"/>

The password_check field works prefectly, but the email_check field never makes it into the model (no matter what I try)!



Why would that be happening?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
Matt,

I think that this is addressed in the next release of Skuid (Banzai Update 3), but if you want to try something in the meantime, try surrounding those email fields with single quotes:
<formula>'{{{email}}}'=='{{{Support_Email__c}}}'</formula>
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Thanks, J.


If I wrap with single quotes now, will I have to unwrap after update 3?
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
I don't think so. You should be good either way after Update 3.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
great. Thanks!