Validating form fields - setting textarea CSS with javascript
Hello Chris!
Could we help you with something else?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hello Chris!
Could we help you with something else?
Yes.. I thought I had it working.. but i not getting the value of my input field.
I have one named: CustomerName
so I was trying to get the value like this:
var CustomerName = Appery("CustomerName").val();
This is returning nothing, var CustomerName is empty.
CustomerName is a template input field and text is exposed, so is .val() is valid?
Hmm It seems to be that the input field was a custom component. When I removed that, it worked.
On the customer component i have the text property exposed. Can I not use appery function with customer components?
Hi Chris.
Please use following code if you using input inside the custom component.
pre
//Where:
//"CustomComponent1_17" - your custom component name.
//"mobiletextinput_16" - your input component name inside your customComponent.
Apperyio("CustomComponent1_17_mobiletextinput_16").val();
/pre
Regards.