Unique number generation on Form filling?

DG
DG
Vote:
 

Hello Experts,

Working on a requirement where we need to generate some number upon every form filling.

Is it possible to generate a Form number? does the form have a id counter or anything like that? if yes, is possible to send this number with the solicitation?

Thanks in advanced.

Regards

Deep

#260876
Aug 20, 2021 5:53
Vote:
 

Hi,

You need a custom form element block similar to PredefinedHiddenElementBlock.

Have a look at this page on how to create a custom form block: https://world.optimizely.com/documentation/developer-guides/forms/creating-a-custom-form-block/

Your form block should inherit from HiddenElementBlockBase.

Hope this helps!

#261005
Aug 23, 2021 21:06
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.