Skip to main content
Question

Conditionally check a checkbox

  • April 15, 2020
  • 0 replies
  • 35 views

I've put in too many hours this week and am making stupid mistakes.  

I need a button that will check a checkbox if a corresponding checkbox is checked.  There are several services and not all are subscribed on each order.  Rather than checking a submit button for all services that have not been submitted I want to add a button that will check the submit button for any services that have not been submitted.

This is my first real attempt at a button and I am a bit blind.  

I am currently using:

var text URLRemoteServices = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord & rid=" & [Record ID#] & "&_fid_3008=1" & Rurl();

If([Remote Services] and [Remote Services] != [Remote Services - Submit], $URLRemoteServices)

and getting the following error

<qdbapi>
<action>API_EditRecord </action>
<errcode>5</errcode>
<errtext>No Such Operation</errtext>
<errdetail>
This operation does not exist. Please check the URL.
</errdetail>
</qdbapi>

I only have the first service in the list added at the moment.  I will use the approach I saw in this post.

I hope one of you can point me in the right direction.


------------------------------
Paul Peterson
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
.... _fid_3008! man o man, that's a lot of fields.

 But I digress,

Like Tom Hanks says "there is no crying in baseball"

similarly, "There is no spaces in URLs"

?act=API_EditRecord & rid  // take out the spaces before and after the &




------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------