All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

VARIABLE NAME VALIDATION

Rowan Sentesy 30 Jun 2020 23:58 idea, pending

Hey Low,

One other minor issue I thought I would put on your radar is the support/lack of support for colons (and other special characters) in variable names.

A site we're working on made use of ':' colons in the variable names (back when it was supported in early EE2.x).

I noticed this was an issue recently only when trying to save the variable once I was able to edit it.

It would be very handy to have an alert show up on Low Vars indicating that a variable needs to be renamed. The legacy colons in var names caused an issue with Matrix & Assets where the values would not show up properly at all. Changing the var name (i.e. replace colon with underscore) made it all work!

Before name change (invalid variable name):



After (valid variable name):


Thanks for your help!

Rowan

Replies

  1. Low 2 Jul 2020 06:25

    It's a bit of an edge case (only if the var already exists and has a colon), but I can see your point. Will take it under consideration.