Notifications
Announcements
hi, i have a problem with patching function, i can use isblank to make sure all field is filled in by user, but not for field that i customize outside form field.
here is my code, can anyone help me?
Hi @nayem ,
Is your patch function not working?
What does the "field that I customize outside form field" mean?
Best regards,
Rimmon Li
@nayem Has any error message?
Hi @nayem you can validate on inputs that our outside of your form! you would just use the control name and then .text or .selected items or whatever the datatype of the control is.
For example I have a form to submit and I'm validation on a text input that is outside of the form control:
I cannot see why this wouldn't work for you!
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. Remember, you can accept more than one post as a solution.
If the content was useful in other ways, please consider giving it Thumbs Up.
ThanksAndrew
the patch function is working, the field that i put that is not form field, i want to patch it with the column in my datasource, but it failed.. "field that I customize outside form field" means field that is not generated from the form field.
i added a text input and want to patch it
the patch function is working, the field that i put that is not form field, i want to patch it with the column in my datasource, but it failed..
no error message. my patch is working but only the one field that are not generate from form field not being able to patch in my datasource column..
thanks for the validation, now it can validate, but it just cant patch my field.
as you can see the picture above, my position code did not working with the patch function that i made, the text input field that i meant that is outside the form field, is the position code field in the picture.
Hi @nayem what is the datatype of the field in your list that you are trying to patch? as I can use the text input to patch my SP list no problems:
I have also tried using From.LastSubmit this isn't casing me any issues:
@nayem I think the issue might be with the 'form1.lastsubmit' in your patch formula. Since you didn't include this field when you submitted the form earlier, you can't find it in the 'form1.lastsubmit' later on. You probably need to make a separate patch formula for this field.
try
Patch('ChangeRequestList',Defaults('ChangeRequestList'),{Unit:TextinputUserName_4.Text})
after your first patch formula
but i want it to insert the position code for the current submission, thats why i use last submit. do you somehow know why it is cant be performed?
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268