Forum Discussion
OlivierS
10 years agoLithium Alumni (Retired)
It shouldn't matter, but what happens if you change the order of the options?
<select class="lia-form-boardDistributionFrequency-input" name="boardDistributionFrequency" id="boardDistributionFrequency" data-key="board.sub_email_delivery_freq"> <option title="Sofort" value="immediate">Sofort</option> <option title="Nie" value="never">Nie</option> <option title="In einer Tagesübersicht" value="daily" selected="">In einer Tagesübersicht</option> <option title="In einer Wochenübersicht" value="weekly">In einer Wochenübersicht</option> </select>
Again, it shouldn't matter, but what happens if you keep the option for 'never' in English?
<select class="lia-form-boardDistributionFrequency-input" name="boardDistributionFrequency" id="boardDistributionFrequency" data-key="board.sub_email_delivery_freq"> <option title="Never" value="never">Never</option> <option title="Sofort" value="immediate">Sofort</option> <option title="In einer Tagesübersicht" value="daily" selected="">In einer Tagesübersicht</option> <option title="In einer Wochenübersicht" value="weekly">In einer Wochenübersicht</option> </select>
Lastly, what happen if you set the value to Immediate, manually. then try to set it up to Nie? You might receive an error 503 as the value is already set to Nie ...
- tripp-bishop10 years agoMentorit sounds to me like the values of that profile field are constrained and that "never" is probably not a recognized value. Sometimes, REST calls will display a list of legal entries. Can you make a direct call and see if you can get back a useful error message rather than a useless 503?
- micha8010 years agoExpert
Thanks for your replies!
When I paste the following URL in the browser then I get an error 100: /users/self/profiles/name/board.sub_email_delivery_freq/set?value=never
The error message is that the value must be one of the following values: immediate, daily, weekly
But what if I want to set it to never which is an option on the original forms?
Regards,
Michael
- tripp-bishop10 years agoMentorHave you tried not specifying any value? Definitely sounds like "never" is not a legal value.
Related Content
- 7 years ago
- 3 years ago