Skip to main content
Question

text(formula) to load php page

  • February 14, 2017
  • 0 replies
  • 37 views

Hi .. i have text(formula) field.. here i want to load a php page on onClick function. and need to pass record id to that page also..how can i write the formula for that ?
This topic has been closed for replies.

  • Registered
  • February 14, 2017
Instead of having a Formula text field to make it as a hyperlink to another external linked page, you can create a Formula URL field with the "Display as a button" unchecked.




Output with F12 Inspect Element set to the hyperlink displayed:



Regards,
Dinesh V

  • Registered
  • February 14, 2017
To pass information to one of your code pages you can use a formula similar to this:

href=\"javascript:window.location.href = 'https://yourdomain.quickbase.com/db/yourdbid?a=dbpage&pageID=5&parent="&[Record ID#]&"'\"

Then you can receive and do what you'd like in your php page.