Forum Discussion

TimEgerton's avatar
TimEgerton
Qrew Trainee
4 years ago

Text Field White Space

Hi,

We have a EOTI app with a Text Field [First Name], not the only one, which EOTI users are entering data and a white space (usually by using space or tab).

We have tried to fix this with a formula text field Trim([First Name]) and a dynamic form rule of when First Name is not blank and is not equal to Trim Frist Name change First Name to the value in Trim First Name (fire change action unchecked).

However it is not working.

Is there another solution to this problem?

Thanks,

------------------------------
Tim Egerton
------------------------------
  • Is the Trim Formula field on the firm, even if in a hidden section?  I find fi4m rules don't always work correctly if formula fields they use are not on the form.

    Allso is the form rule checkbox unchecked so that it will fire "all the time"?

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------
    • TimEgerton's avatar
      TimEgerton
      Qrew Trainee
      Hi Mark,

      The Trim Formula is on the form (Admin Tab).

      Checkbox is unchecked to fire all the time.

      Maybe a timing thing. The Trim Formula is not activated until the record is saved and that is being missed by the dynamic form rule?

      ------------------------------
      Tim Egerton
      ------------------------------
      • JohnCrosland's avatar
        JohnCrosland
        Qrew Trainee
        Good morning,
        This sounds like it might be a circular reference.

        You can just use First Name Formula field where you would have used the First Name field, and that seems like it will solve your problem.
        Thank you,
        John

        ------------------------------
        John Crosland
        ------------------------------