Hi all,
I am trying to change the display mode of my button based on the values of the input boxes, drop down box and date picker. The logic is like this: If all the values of input boxes are blank, or drop down box not selected ( default value shown is the choice from sharepoint) or date picker is not chosen (managed to set the date picker to blank), the display mode will be set to view.
I wrote the following syntax but couldn't get it working. Suspect that the error comes from the dropdown boxes. Anyone can advise how to resolve this?
If(IsBlank(NameInput) Or IsBlank(emailadd_5) Or IsBlank(PInput_4) Or IsBlank(TInput_5) Or IsBlank(ServiceInput_4) Or IsEmpty(Dropdown_4) Or IsBlank(O_Input_4) Or IsEmpty(P_Dropdown_5) Or IsBlank(E_Input_5) Or IsBlank(O_Input_5) Or IsBlank(T_Input_5) Or IsBlank(Activity_Input_5) Or IsBlank(DateofLast) Or IsBlank(DateofNext), DisplayMode.Edit, DisplayMode.View)