Hi,
Im stuck on a problem that is driving me nuts, below you will see an image of my test app,

This app currently uses the labels to make sure the user is using the correct text format which is in the range ZZ000001 - ZZ999999,
The text input is collected into the gallery and also uses the following onchange in the text input
If(Value(Right(SampleIDTEXTINPUT.Text,5))>000001&&Value(Right(SampleIDTEXTINPUT.Text,5))<999999&&IsMatch(Left(SampleIDTEXTINPUT.Text,2),"ZZ"),true,Notify("**Format of entered value should like ZZ000001**",NotificationType.Error);Reset(SampleIDTEXTINPUT))
when the app loads the intial text input needs to be blank and im currently im using the following in the default of the text input
If(IsBlank(Gallery1.AllItems),"", NextSampleID.Text)
I need the checkbox added to turn off the text formating so the user can enter empty sampleID's and i also need for the app to record the last (next) sample id number for when they turn the checkbox off it starts working as normal, so they can turn it off and on again as in the following example but instead of the 000001 it should be ZZ000005 the text input always reverts back to ZZ000001 using the above default code
