Forum Discussion

AmplusOne's avatar
AmplusOne
Qrew Member
2 months ago

API Edit mobile forms

Hi guys.  I used the text below to create a button to update a text field.  It works perfectly on desktop but on mobile it updates the field several times which I see since I track changes to that field.  Any idea why it works on desktop but not  on mobile?

var text Approve = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=myapptoken&rid=" & [Record ID#]
& "&_fid_295=Yes"; // change the 99 to the field ID# of the checkbox field 

var text RefreshPage =  URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();

  • Is this still an issue? If so can you post the full formula?

    I only see the two variables for "Approve" and "RefreshPage", so the issue may be in the rest of the formula where these variables are used. 

    -Sharon