So, I have the following Date Picker View :

This is connected to a Date of Birth Cell :

Now, in my Frank Test, I want to move the tumblers around and then reflect the final value in the Text Box. I do the following in order to do so :
dateValue = "04.11.2002"
dateParts = dateVale.split('.')
for i in 2.downto(0) do
frankly_map( "view:'UIPickerView' index:0", 'selectRow:inComponent:animated:', dateParts[i].to_i - 1, i, false )
end
So we loop through the tumblers and change them to the appropriate value. However, the change in the tumblers does not reflect in the UITextBox. So I decided to update it by tapping on any value in the UIPickerView :
touch("view marked:'15'")
But, this changes every single tumbler! Can someone tell me just why this is happening and how I can get the date set?
Here is a method in
JavaI did to select a value from a picker view (theUITextFieldwhich uses the selected picker value is also updated, for that you have to generate a scroll event):Where
Frank.scrollDownRowsdoes:Frank.frankly_map(selector, "scrollDownRows:", noOfRows);I hope this helps.