Forum Discussion
ChrisSwirtz2
6 years agoQrew Cadet
So this is the code I end up with:
var text URLGenAdd=URLRoot() & "db/" & [_DBID_PERIPHERALS] & "?a=API_GenAddRecordForm&_fid_15" & URLEncode ([Record ID#])&"&dfid=11" & "&z=" & Rurl();
But it puts a little yellow mark at the end and gives me an error. What am I doing wrong?
------------------------------
Chris Swirtz
------------------------------
var text URLGenAdd=URLRoot() & "db/" & [_DBID_PERIPHERALS] & "?a=API_GenAddRecordForm&_fid_15" & URLEncode ([Record ID#])&"&dfid=11" & "&z=" & Rurl();
But it puts a little yellow mark at the end and gives me an error. What am I doing wrong?
------------------------------
Chris Swirtz
------------------------------
ChrisSwirtz2
6 years agoQrew Cadet
It accepted the code before when I originally forgot to add the "var text URLGenAdd =" part of the formula but when I clicked the button it still just took me to the add new record utilizing the main form, not form 11 like I want it to.
When I hover the cursor over the yellow section a note pops up saying "Expecting Test"
------------------------------
Chris Swirtz
------------------------------
When I hover the cursor over the yellow section a note pops up saying "Expecting Test"
------------------------------
Chris Swirtz
------------------------------