The CreatorCon Call for Content is officially open! Get started here.

Additional Comments Validation when 'Post' Button is Clicked

akshaysood
Tera Contributor

Hi All,

I needed help in one of the requirement.

I want to create a validation on the additional comments fields i.e. it should be more than 3 characters, I have created an onSubmit client and it works when I update/save the form.

However this does not work when I click the 'Post' button beside the Additional Comments field, could you help me with a way out.

Thanks for your help in advance!! 

6 REPLIES 6

Brian Lancaster
Tera Sage

You may need to do this base on an OnChange of additional comments rather then an onsubmit. OnSubmit only works when the form is submitted but when click post you are not submitting the form just the comments so an OnSubmit will not work.

Mukesh Khanna P
Tera Expert

@akshaysood @Hristo Ivanov @Brian Lancaster 
Is there any way to achieve this?  I'm having client requirement to show popup model on clicking "post comments" action in workspace? Not finding any supportive documents related to this configuration?