News:

Support the VirtueMart project and become a member

Main Menu

Error saving plugin config with XML

Started by gjordan, April 27, 2023, 17:02:05 PM

Previous topic - Next topic

gjordan

Hi eveyone, I have to save an Api key on the xml configuration file for a plugin, the value of the Api key includes a logical OR symbol (it's not just text),so when I press the save button the text field value is not saved, here is the ex code:
<field name="apilive" size="75" type="text" label="Api live" description="Api Key Live" filter="raw"/>

If I erase the logical OR symbol the value is saved and retrieved as it should, could someone tell me which type of field should I use instead or how to save this value in this kind of cases?