Skip to main content
Answer

Radio button in mobile app

  • September 11, 2019
  • 3 replies
  • 134 views

Forum|alt.badge.img+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?

Best answer by Rémon Bal

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')
This topic has been closed for replies.

3 replies

Jasper
Superhero
  • September 17, 2019
Hi Remon,

Does the default procedure contain any logic to fill the text field? Or do you use offline logic?

Forum|alt.badge.img+2
  • Author
  • Apprentice
  • Answer
  • September 17, 2019
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')

Jasper
Superhero
  • September 17, 2019
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!