• Resolved m3moir

    (@m3moir)


    Hello,

    Could you guide me on disabling the wildcard (%) functionality in a WPDA Data Table Search form?

    If not already built-in, my backup thought is to replace the /%/ symbol with blank (‘’) in the inputField.value via JS. But disabling it entirely would be safer.

    kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @m3moir,

    The standard available search fields are handling the wildcard character correctly using url encoding. If you are adding a wildcard in plain text use %25 instead of %.

    We’ll add an extra check to the wpda_search_column_ directive with the next version so the plugin will perform the url encoding if not properly prepared.

    Does this help?
    Peter

    Thread Starter m3moir

    (@m3moir)

    Hi Peter,
    For my use case, I would like the option to disable the function of a wildcard.

    One suggested could be having the option available in Plugin Settings; Allow Wildcard (%): enable/disable.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to disable wildcard (%) search’ is closed to new replies.