Hi All,
We have some form elements and we have a Custom Submit action.
We dont want to send some values to afdata(afbound and afunbound) parameters.
By default all the values are coming in afdata .
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
what is the use case for not wanting the data in the submission?
And it is not possible to achieve your use case using OOTB submit action
@Sb2512 :
as a first thing , if you dont want to send the field in the afdata, for those fields dont provide the bindRef property to that filed.
if that doesnot work, try below.
In your custom submit component, if you have any clientlibs or in the rules editor check that , if your submitting data with ajax call.
e.g:
$.ajax({
url: saveUrl,
type: 'POST',
data: formData,
contentType: 'application/json',
});
you might be having some logic to build the formdata which captures all the data which we input in the form.
you can remove the keys which you dont want from the formData.
Even if we are not setting the bind Reference the value is coming under unboundReference in afdata.
what is the use case for not wanting the data in the submission?
And it is not possible to achieve your use case using OOTB submit action
We have some confidential fields like bank account Number which we dont want to send on the network Call so we created a Encrypted hidden field where we are encrypting bank account number and sending to the network call but the plain text account number we want to restrict on form submit.
Views
Replies
Total Likes
@Sb2512 : Are you using OOTB component or Custom component for submit. If its custom component , Can you share the logic here, how you are submitting the data.
We are using Custom Submit Action ,
We have some confidential fields like bank account Number which we dont want to send on the network Call so we created a Encrypted hidden field where we are encrypting bank account number and sending to the network call but the plain text account number we want to restrict on form submit.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies