Hello @victoriei101
Yes, that’s possible.
For example, assuming it is a calculated field, you could enter the following equation into its settings:
getURLParameter(cfffield1, '')
If you want to pre-fill another field. For example, the number field fieldname34. You can insert a calculated field in the form as an auxiliary (you can configure it as hidden by ticking a checkbox in its settings), and enter the equation:
getField(34).setVal(getURLParameter(cfffield1, ''));
The getField operation receives the number component in a field’s name and returns its object representation.
Another alternative would be to insert an “HTML Content” field in the form with the following code as its content:
<script>
fbuilderjQuery(document).one('showHideDepEvent', function(){
getField(34).setVal(getURLParameter(cfffield1, ''));
});
</script>
More information about the getURLParameter
operation by visiting the following link:
Best regards.