VALID_IF , ENUM and EDIT data

I have taken an example from these pages to use a Valid_If statement to load the choices into an ENUM. This works very well for me as the ENUM is copied across a number of forms so having them load from a table is great.

However, Iโ€™ve noticed that when I edit data the previous saved choice is not shown, which prompts the user to reselect the data choice - this can lead to mistakes.

2X_5_5c66ff1affcfca028d06b06ff5f6f94be9d63960.png

Interestingly, even though this ENUM is a Required field, as shown by the *, selecting NEXT does not produce an error and when the form is saved the existing data still exists!

2X_1_115b8aa5d571ab4e72c97b7da152ae932f2b4651.png

Is there a method for the edited form to show the underlying table data when editing?

0 9 397
  • UX
9 REPLIES 9

Interesting. I havenโ€™t had that problem. I wonder why itโ€™s working in my case but not in yours.

2X_1_15343257e3f78314a6dfea87c48eeb81b9ae0603.png

The Chinese characters are highlighted because I selected that tag a few days ago. Now, whenever I go to this menu, it looks like this.

Thank you for taking the interest to reply.

I note that your example is not a required entry.

I wonder if this is the differenceโ€ฆ

Perhaps so. Iโ€™ll try to check later when I have time.

Ah, now that I think of it, it may have to do with the fact that I only change the value via the โ€œquick editโ€ feature.

2X_1_1ef65c3e186ad7cc8829ebfbbb02fd8b08492714.png

Are you using a form to change it?

Yes, I use a form.

Iโ€™ll quickly change the Required status to see if anything happens

It is the same result if I make the field Not Required

Once I select an ENUM option then it works correctly afterwards!

2X_5_576620b0cf06a333ed968ddb2a46838482c98ca3.png

BUT I donโ€™t want to go through each record to fix this!!!

Any further suggestions?

SOLUTION:

In my table I had a space between my SPLIT character โ€œ;โ€ and the beginning of the next word

I have removed this space and it now works as expected

Great! Glad you found a solution!!

Thanks!

Top Labels in this Space