Skip to main content
Question

URL link to view a specific form, but the form changes when the edit button is clicked

  • January 3, 2019
  • 0 replies
  • 73 views

Forum|alt.badge.img+1
I have a table with two forms. "Course form" (ID#10, default) and "Offering form" (ID#2).

I have a Formula - Url field to link users to the correct form from other tables and in reports:
If(Contains([Request type], "Offering"),URLRoot() & "db/" & Dbid() &"?a=dr&rid=" & ToText([Record ID#]) & "&dfid=2"& "&z=" & Rurl(), 
URLRoot() & "db/" & Dbid() &"?a=dr&rid=" & ToText([Record ID#]) & "&dfid=10"& "&z=" & Rurl())
It works, until they click the "edit" button at the top right of the record. In edit mode it will ALWAYS show the "Course form" - the default form.

I can replace a=dr with a=er, but I don't always want to always send them to "edit" the form.

This is also a problem when I send them to create a new record on a certain form - when they save the record it always shows the default form.

How can I fix this?
This topic has been closed for replies.

That is why I strongly resist having multiple forms.when they need to be used by the same users. The system does not know which form to use.

How much work would be involved in having just one form, and then using form rules to show and hide sections.

Otherwise the solution is to use something in the IOL toolkit to hide the existing save/edit buttons, substituting their own, with the right urls in them, onto the custom forms?