• I tried to add a regex using Dynamicoo for the textarea field in my form but it is not working.
    Also I tried to add a php validation for the same field but also it does not work. However if I convert the field to type=text then things are working correctly.

    How can I solve this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    It could be because textarea data is fundamentally different than other form fields. Whatever applies validation might be assuming the data is set as an input attribute and not innerHTML. At least that applies client side. Server side with PHP, I’ve no idea why PHP wouldn’t work, it depends on how you added validation code.

    You need some sort of hook where you could add PHP code that would work on the form’s raw data. What that is depends on how the form’s data is processed. Are you using a form plugin to manage this? I recommend seeking suggestions through that plugin’s dedicated support channel.

    Thread Starter que1234

    (@que1234)

    Thank You bcworkz,
    Sure, I will contact the support team for this issue…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding regex or patterns on form element of type (textarea)’ is closed to new replies.