Perhaps the problem is that since the field didn’t have a value, it’s not being included in the model?
I would say that this is not expected behaviour. I would expect the save action to throw an error.
Can you double check it is set to 'required=“true” at the line level in the xml code? I have seen that sometimes there will be something here extra or missing and it will cause a different expected result
<field id="Preferred_Contact_Method__c" valuehalign="" type="" required="true" addnoneoption="true"/>
Matt,
Your expectations are correct, the picklist shouldn’t save unless the user picks an option other than “None”. I was able to see that functionality when I tried it out in Skuid 8.15.10.
- What Skuid version are you on?
- Could you post some screenshots of your model setup?
- Is that picklist using a record type?
Thanks!
Amy
If it’s helpful, there’s the action sequence in a wizard button where the save is failing to trigger the warning for the required field:
Not sure if this makes a difference, but it’s not a new record. It’s already stored in the database with no value, because it’s not required in SFDC, only in the skuid ui.
Matt,
Sadly, you’ve found a bug. The wizard specifically doesn’t seem to respect the required property. We’ll let you know when a fix is released for this issue.
Thanks!
Amy
Hi Amy,
I am also getting same issue when i rendered a picklist field as radio button and marked that field as required and when user click on next step button then it’s not validate that required field.
Thanks,
Raj
Raj,
Thanks for letting us know! Just to be clear, are you also in a wizard? If so then you’re experiencing the same problem as Matt and we’ll let you know when a fix is released
Yes i am also getting same issue in Wizard only.
Thanks,
Raj
Skuid, any update on this?
Not being able to use required fields in a wizard is a serious problem for us and our customers.
Mark,
I just tested this in Skuid 11.2.2, and I don’t see the same behavior in a simple test page I created. Do you have an example of this issue occurring in your Org?
Thanks,
Josh
I continue to experience this issue in multiple different SFDC orgs within wizard pages recently.
See screencast of one example here: http://recordit.co/Wl9ohGpbs5
This environment is Millau 11.2.6.
As a workaround, I often have to do strange things like set the value to blank through an event-triggered action sequence upon page load…but that can be problematic if the user is trying to load a previously filled out record…and suddenly they have to re-fill out that field.