Forum Discussion
QuickBaseCoachD
Qrew Captain
Let's get just a smaller link working before you got crazy with 10 links. This formula would be in the Parent record.
You need to change the 99 in the example below to the respective field ID's where the file attachments are stored.
var text WordsONE = ToText([FFSP Top 5 Cover Sheet]);
var text URLONE = URLRoot() & "up/" & dbid() & "/a/r" & [Publication Submission#] & "/e99/v0";
var text LinkOne = "<a href=" & $URLONE & ">" & $WordsONE & "</a>";
var text WordsTWO = ToText([Publication Submission: Fleet & Family Support]);
var text URLTWO = URLRoot() & "up/" & dbid() & "/a/r" & [Publication Submission#] & "/e99/v0";
var text LinkTWO = "<a href=" & $URLTWO & ">" & $WordsTWO & "</a>";
List("<br>", $LinkONE, $LinkTWO)
You need to change the 99 in the example below to the respective field ID's where the file attachments are stored.
var text WordsONE = ToText([FFSP Top 5 Cover Sheet]);
var text URLONE = URLRoot() & "up/" & dbid() & "/a/r" & [Publication Submission#] & "/e99/v0";
var text LinkOne = "<a href=" & $URLONE & ">" & $WordsONE & "</a>";
var text WordsTWO = ToText([Publication Submission: Fleet & Family Support]);
var text URLTWO = URLRoot() & "up/" & dbid() & "/a/r" & [Publication Submission#] & "/e99/v0";
var text LinkTWO = "<a href=" & $URLTWO & ">" & $WordsTWO & "</a>";
List("<br>", $LinkONE, $LinkTWO)
SherylMacGibbon
2 years agoQrew Member
Hi,
From above,
List("<br>", $LinkONE, $LinkTWO)
How do you have the list not show blanks?
Thank you!
------------------------------
Sheryl MacGibbon
------------------------------
- ChayceDuncan2 years agoQrew Captain
The List formula won't account for blanks - you would have to change the method to potentially do an ordered list HTML element, or you could just check if it's blank with an if statement like so:
If( $linkOne != "", $linkOne & "<br>", "") &
if( $linkTwo != "", $linkTwo & "<br>","")
...
So on and so on
------------------------------
Chayce Duncan
------------------------------- SherylMacGibbon2 years agoQrew Member
That works, thank you!
------------------------------
Sheryl MacGibbon
------------------------------