Announcements
Hello, I want to update the Version_Test each time I save/submit the Form.
So I want OnSelect of Text_Edit_IconAccept to update the Version_Test text field as Version_Test = Version_Test + 1
How can I do it ? Kindly help me with this.
Hey! The default of that texp input should be:
First(Sort(YourDataSource, Version_Test, Descending)).VersionTest + 1
If you need additional help please tag me in your reply and please like my reply.If my reply provided you with a solution, pleased mark it as a solution ✔️!Best regards,Gonçalo NogueiraCheck my LinkedIn!Check my User Group (pt-PT)!
In the Default of the TextBox:
If( EditForm1.Mode = FormMode.New, Last(Datasource).ID + 1, Parent.Default)
Check out tutorial on Autoincrement with Prefix:
https://youtu.be/wsaMirkf3Pc
------------If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @Nogueira1306 , Thank you for responding.
I think your way implies that
Each time when I enter Edit Mode , the Field (Version_Test) is Incremented and OnSumit(Form) it saves !!.
But how I want is
Each time when I enter Edit Mode , the Field (Version_Test) should be same and OnSumit(Form) the Field (Version_Test) should Increment !!
Is it possible this way ?
So, when you submit, you add one. Why dont you write on the button you have to submit the form, before the SubmitForm() ?
Hi @Anonymous
The way to do this is keep the Default property of your text input control as Parent.Default (or ThisItem.Version_Text). This way, each time you enter Edit Mode, the Field (Version_Test) will be same.
You would then modify the Update property the parent card that contains your text input control to the following:
ThisItem.Version_Text + 1
This will increment the Version_Text value of the current record by 1 when the form submits.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 392 Most Valuable Professional
11manish 136 Super User 2026 Season 2
MS.Ragavendar 109 Super User 2026 Season 2