After searching the FAQ and Issue Queue, I haven't found any help with this, and wonder if I'm just missing something. The issue I am having is that I cannot use certain words as component names or values, or the component won't be saved. The words that cause the issue are all names of medications that will be used as select values - one at the top of the list (if anyone wants to try) is "abilify". I have tried setting the filter parameter in _webform_render_component to FALSE, and did the same for _webform_client_form_add_component, but to no avail. I have had some limited success adding these words as values with the Webform/Formbuilder UI, but when the form is edited again, the components that contained any of the problem words are then saved without any values. Is there some way to disable or circumvent this filter? Any suggestions greatly appreciated.
Comments
Comment #1
sumitmadan CreditAttribution: sumitmadan commentedI have tried with the word "abilify" and I don't found any problem with word. Can you please confirm the issue on a fresh drupal and webform install?
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedDisable formbuilder and try again with Webform's UI. If you still have a problem, please reopen with clear instructions to reproduce this from a clean install. Otherwise please open an issue in the formbuilder issue queue.
There is certainly nothing about "abilify" that would trigger any special code. There are restrictions about special characters that can be used in the key of a select, but those are plain ASCII letters.
Comment #3
1dropgrant CreditAttribution: 1dropgrant commentedThanks for the quick responses, a little nudge in the right direction helped a lot! Turns out the issue was being caused by a mod_security rule on the server that was truncating URL parameters with certain terms...