Jump to content

Field naming restrictions


Peter Knight
 Share

Recommended Posts

A minor gripe but one that trips me up every time.

When there's naming error on a field, ALL the field values are erased and I have to setup everything again. IE name, type, label and descriptions details and sometimes notes.

Would be really helpful if ProcessWire didn't zap all the values but just cleared the illegal field name. 

 

field-name.thumb.jpg.353e98bab83d531649429fb1dfb8f9ff.jpg

 

 

 

  • Like 3
Link to comment
Share on other sites

1 hour ago, Peter Knight said:

Would be really helpful if ProcessWire didn't zap all the values but just cleared the illegal field name. 

+1

Still, I've never come across this issue before but now that I deliberately made a mistake I see that it works just as you described.

Just to point out, PW does not "zap anything", this is how a form works without a developer making sure that temporary input field values of a form are stored somewhere (typically session) for such a case as a post action or being reloaded.

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...