Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ConfiForms: Preset value for Smart Classifier in Registrations Control

Marvin Kern January 26, 2022

If I click a Registrations Control Button I want the first dropdown in a Smart Classifier to have a preset value. Is this possible?

How do you have to configure the filter in "Set values as key=value pairs, separated by & (as request parameters)"?

In a normal dropdown it worked with "fieldname=1". Then the first entry of the dropdown was selected. But how to do that with a Smart Classifier? - Any ideas?

As key I would insert the field name of the Smart Classifier, but whats the value then?

 

 

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
January 26, 2022

Hi @Marvin Kern 

And welcome to this community

ConfiForms smart fields work and operate on the UUIDs of the records they reference

And that means and UUID is expected to be set, as this is the internal value this field is using (similar with dropdowns, where the value is an ID and and ID is expected to be set)

As using UUIDs could be cumbersome we have a more convenient way to lookup what's needed

https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Field+Definition+Rules#ConfiFormsFieldDefinitionRules-Lookupandsetvalue

Adding a rule like that to your form should be a better alternative than using a ConfiForms Registrations Control's preset values and setting something like

fieldname=hjcwlqc-cjwk-hdd-jj

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events