to make two inputText in one layer

I want to make two inputText in one layer with CCTextFieldTTF,but only the second respond,code like this:

//first input
CCTextFieldTTF* tf1 = CCTextFieldTTF::textFieldWithPlaceHolder(“InputHere”,“Thonburi”,50);
tf1~~>setPosition);
tf1~~>attachWithIME();
//second input
CCTextFieldTTF* tf2 = CCTextFieldTTF::textFieldWithPlaceHolder(“InputHere”,“Thonburi”,50);
tf2~~>setPosition);
tf2~~>attachWithIME();

Yes, only one delegate can receive input at the same time.