I am trying to get all the Text/radio/edit inputs to a text file and can not for the sake of me figure it out. I have seen some previous builds, but can no longer find them.

Below is a snipit of the full code but i do not believe that is needed for a little nudge in the right direction.

Code:
dialog TAIR {
  title "Technical Assistance Input Report"
  size -1 -1 240 251
  option dbu
  combo 13, 10 13 110 18, size drop
  text "Method of Request:", 14, 10 2 53 8
  radio "Yes", 15, 130 19 25 10, group
  radio "No", 16, 160 19 25 10
  text "Is this a continuation of a previous TA?  If yes, List date of original TA (DD/MMM/YY).", 17, 130 2 105 16
  edit "", 18, 181 19 50 10
tab "Contact Info", 19, 2 50 234 181
  text "Person's Name:", 25, 10 69 37 8, tab 19
  text "Point of Contact:", 26, 10 80 45 8, tab 19
  button "Save", 22, 200 235 37 12


Combo Box Code
Code:
on 1:dialog:TAIR:init:*: {
did -a TAIR 13 IRC
did -a TAIR 13 Phone
did -a TAIR 13 Email


On click for button
Code:
on *dialog:TAIR:sclick:22:{
write example.txt (all fields of dialog)}


i have tried calling out IDs but not sure on the format, have been doing research for about a day now on this.

Thank you for your support.