Forum Discussion
MarkShnier__You
4 years agoQrew Legend
Dynamic form rules will only kick in when a human user is editing a record in the browser. The form rules run on the browser. Try this code. Change the 999 to the fid of the date time field.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
var text URL= URLRoot() & "db/" & Dbid() & "?act=API_EditRecord"
& "&rid=" & URLEncode ([Record ID#])
& "&_fid_195=1"
& "&_fid_999=now"
& "&apptoken=" & "(my app token)";
var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();
$URL
& "&rdr=" & URLEncode($RefreshPage)
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
- BrianTam4 years agoQrew MemberThanks Mark for the quick response.
I was afraid that Dynamic form rules would only apply when manually editing the form.
I am also using Dynamic form rules when the checkbox is checked to show a different section.
Do you know how I'd go about that?
------------------------------
Brian T
------------------------------- MarkShnier__You4 years agoQrew LegendSorry,
I may have missed lead you with my response. Dynamic for rules also work in view mode so if you push a button in view mode which edits the record and then re-displays the record than the dynamic form rules will show / hide based on whatever the rules say.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------