Skip to main content
Question

I want ""Add Courses"" url link button to show when a checkbox is checked.

  • Jun 26, 2019 9:13 PM UTC
  • 2 replies
  • 117 views

I want "Add Courses" url link button to show when a checkbox is checked. I am not a coder so here is what I have so far based on community posts - but not working. Help please - If[([Consists of Several Courses]), (URLRoot() & "db/" & [_DBID_CLIENT] & "?a=API_GenAddRecordForm&_fid_279=" & URLEncode ([Record ID#])& "&z=" & Rurl()
This topic has been closed for replies.

2 replies

Forum|alt.badge.img+14
  • Qrew Corporal
  • Jun 26, 2019 9:21 PM UTC
You need to have an "else" statement when using an If() statement.  So at the end of your URL you need a comma and two double-quotes followed by a closing parenthesis to close out the If() statement.

If ( [Consists of Several Courses]=true,
URLRoot() & "db/" & [_DBID_CLIENT] & "?a=API_GenAddRecordForm&_fid_279=" & URLEncode ([Record ID#])& "&z=" & Rurl()
,"" )

  • Author
  • Qrew Member
  • Jun 26, 2019 10:24 PM UTC
THANK YOU!