i am using sencha touch 2.0 and want to create a button ‘+’ and ‘-‘,to add and remove a field dynamically,i have figured out the add part using
this.getForm().insert({…});
but remove part does not hide the field.
this.getForm().remove(‘…’);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to set an id for your field and then try
this.getForm().remove('your_field_id_here')Hope this helps.