https://github.com/Admidio/admidio/issues/1516
The issue above has a radio field with an option with N/A and that is the default value (requires editing the field and adding N/A as creation from the start does not work as it's "not a valid value").
With the fix to issue 1516, now I see "deleted value" on all the records where N/A should be set.
I assume the fix to this is to either handle the '/' character as a valid parameter, or prevent the value from getting stored (both on create and edit).
I seem to have broke the Playground with the scenario above (which I assume may not include the fix 1516 put in):
https://www.admidio.org/playground/adm_ ... 65f50abed9
Profile Field special character problem?
Re: Profile Field special character problem?
Until now it's necessary to add the index value to the default value as described in the field information. You have added the "text value".
Could you please try it with the index value of the entry e.g. 3
Could you please try it with the index value of the entry e.g. 3
Re: Profile Field special character problem?
Ok, tried that. Default value works, but there's a problem with the "---" value now (something that is default available for radio buttons)
Selecting "---" on the user creates the same issue. Note, I believe "---" is the default value if no default is specified. So, seems like something broke going to 4.2.13.
Here's another contact after I changed the default value to "5" for the radio button and select "---" as the entry
https://www.admidio.org/playground/adm_ ... 3ce83f0b87
Note, after the fix for "Deleted entry", I still see "Deleted entry" when "---" is selected.
Selecting "---" on the user creates the same issue. Note, I believe "---" is the default value if no default is specified. So, seems like something broke going to 4.2.13.
Here's another contact after I changed the default value to "5" for the radio button and select "---" as the entry
https://www.admidio.org/playground/adm_ ... 3ce83f0b87
Note, after the fix for "Deleted entry", I still see "Deleted entry" when "---" is selected.
Re: Profile Field special character problem?
I have fixed the problem with "---" for the next version. There is also a better check for the default value.
Re: Profile Field special character problem?
Tried out the fix, looks like it's working. Thanks!