Discussion Locked

making button invisible on form load

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello there
on submit of a form, Frequently i have to call same form with updated datas. when all the forms are fully filled by user & the variables decreases & finally becomes zero. after the last data input of the form & when the varibales becomes zero I want to make the "SUBMIT BUTTON" invisible.
Please suggest codes attached.

<% if totalcat_prod =0 and nooftable = "" then %>

<%end if%>

2 replies

by hijukal

I'm not too familiar with the tag, but I think it will easily provide the functionality for which you are looking.

You can make the specific layer in question visible and invisible.

Check www.w3.org for more information.

by miss kitty

On the condition = 0
cmdSubmit.Visible = False
I do this in application that is being used now. Until the user selects a specific format, the command buttons, text fields, and labels are not visible. When they meet the condition, the following sub is run.

Private Sub cmdTicket_Click()
txtTicket.Visible = True
Label4.Visible = True
cmdContinue2.Visible = True
With frmMain
.Show
End With
End Sub
Cathy

This discussion is closed to new replies.