Hi, I’m having a hell of a time trying to pre-fill new user inputs with default values. I’ve been able to pre-fill them with returning user values successfully. My app has 138 input fields and filling all the inputs is quite tedious. With the pre-fills, the user only modifies what they need to. I’ve made two conditions in the inputs to account with both scenarios, I’ve changed the workflows, etc. Any ideas? I’d appreciate your help.
Are you reporting a bug or seeking help with a question?
Regardless, it’s unclear what you’ve tried so far. If you’re already using an input’s Initial content property and not seeing the expected results, try posting screenshots and elaborating.
It’s more a question, than a bug. When I try to add two conditions in an input field to be pre-filled with defaults, for new users and previous data, for returning users, the inputs won be filled. I added text elements to see if the data was being retrieved correctly and it is. The inputs remain blank. Even if I hade code them in the initial data field.
Consider recategorizing your original post from “Bugs” to “Need help”, where more community experts might see it.
Regardless, again, if you share screenshots it’s more likely that someone can help.
Meanwhile, you could investigate typical culprits:
- Confirm your privacy rules permit access by the current user to the data you expect to populate the inputs’ initial content.
- Confirm your user is actually logged in so the app can identify the user’s existing record.
- Confirm your condition expressions indeed specify the condition you want and not, for example, the opposite, which can sometimes happen with complex logic.
- Confirm your condition expressions yield the expected result when evaluated linearly from beginning to end and don’t depend on nested evaluations, which can sometimes be a confusion when dealing with combinations of
and
andor
.
Thanks David. I’m going nuts with this, I’ve been at it for 10 days and I decided to change tack: instead of using logic to decide what data set to use to do the pre-fills, I added two buttons so the user can choose. -I’m also adding warnings/rules to avoid new users to enter as returning users and vice-versa.
Thanks.