How do I make several radio buttons show a single text field?
Good afternoon everyone.
At the start of every form we fill out, we usually have to write in our personal information such as name, address, phone number, etc. I have something similar to that, but I want to give the user a chance to save what they have in a separate file before continuing. In theory, what I'm doing is giving the user a chance to save the file to a new location so they don't accidentally overwrite their copy, and once they've entered all the pertinent information, a button will be revealed that when clicked executes a Menu Item of File>Save As . Make sense?
Once the user fills all of these fields in, another text field labeled "Submit" will appear. I'm using a text field because I'm using the Custom Calculation Script:
var bReady = true;
if(this.getField("DateOfReview").value.length == 0) bReady = false;
else if(this.getField("ArrivalTime").value.length == 0) bReady = false;
else if(this.getField("DepartureTime").value.length == 0) bReady = false;
else if(this.getField("DateOfLastReview").value.length == 0) bReady = false;
else if(this.getField("MonitorName").value.length == 0) bReady = false;
else if(this.getField("MonitorTitle").value.length == 0) bReady = false;
else if(this.getField("SiteName").value.length == 0) bReady = false;
else if(this.getField("SiteID").value.length == 0) bReady = false;
else if(this.getField("SiteAddress").value.length == 0) bReady = false;
else if(this.getField("SiteRep").value.length == 0) bReady = false;
else if(this.getField("SiteRepTitle").value.length == 0) bReady = false;
if(bReady) this.getField("Submit").display = display.visible;
else this.getField("Submit").display = display.hidden;
The label "Submit" will later be changed; it was what I could think of at 2am...
I just don't know how to insert a radio group after Arrival Time and Departure Time. Each field of "Time" has a radio button for "AM" or "PM". We can't get rid of it; it's required to have separate radio buttons in this form, which is okay because then we can use the Arbitrary Mask 99:99 for each time field.
So how do I write in the line for the radio groups after each time? It doesn't matter if AM or PM is selected, so long as one is.
I already know how to do a show/hide Action Script for revealing and hiding text boxes, but I can't seem to get that theory to apply with the rest of this. Is it possible?
Any help is appreciated. Thanks!
