Solved

Radio button in mobile app

  • 11 September 2019
  • 3 replies
  • 64 views

Userlevel 2
Badge +2
Hello,

I have two fields on a screen ( a text field and a radio button) and I clear the fields in the screen. Text field is made empty and the radio button is made null.
When I select a value of the radio button, the text field is defaulted with the previous value before clearing the field. This only happens in the mobile app. How can I prevent the mobile app to default the value of a text field when chaning the radio button?
icon

Best answer by Rémon Bal 17 September 2019, 10:33

It had one line to set @cursor_to_col_id, but now I added some extra logic to clear the textfield when the value of the textfield is the same value as the last stored value in the database. (automatically clear the text that is filled by the 'radiobutton')
View original

3 replies

Userlevel 6
Badge +6
Hi Remon,

Does the default procedure contain any logic to fill the text field? Or do you use offline logic?
Userlevel 2
Badge +2
It had one line to set @cursor_to_col_id, but now I added some extra logic to clear the textfield when the value of the textfield is the same value as the last stored value in the database. (automatically clear the text that is filled by the 'radiobutton')
Userlevel 6
Badge +6
Hm, I like your thinking, but this really shouldn't be necessary.

Can you please submit a ticket in TCP so we can investigate this further? Thanks!

Reply