Skip to main content
Question

Go To"" button in a form

  • July 17, 2015
  • 0 replies
  • 89 views

I was wondering if it is possible to add a button on a form that would take you to a specific Section on the form.

I know this may sound like laziness (i.e., can't you just scroll to the Section?), however we use a particular form all the time that is quite long with a large amount of data, sections, tables, etc.  and being able to have a button that pops you right to that section would save time when using the form, looking up info when taking calls, etc.

Tony

This topic has been closed for replies.

Courtesy of the infamous Dan Diebolt who haunts this forum, this worked for me in an app





Jump to a spot on a form


The formula-URL to initiate the jump was

"javascript:void(window.location.href='#DealerClaim');"

The anchor tag for where to jump to was a formula-text field with HTML enabled with the formula

"<a name=DealerClaim></a>"


In my case I chose to call the link DealerClaim. You can all it what you like.  The name is case sensitive and I suggest no spaces or special characters in it as I don't know if they will break the functionality.

So, you put the first part at the top of the form, and the target near where you want to jump to.  On the target, hide the field label with an alternate text of blank once you get it working.





  • Author
  • Quickbase Alumni
  • July 17, 2015
Mark...this works great.  Thanks!

:)

btw, at the recent EMPOWER Users group meeting in Chicago, QuickBase announced their intentions to have tabbed Forms. No specific time frame but "soonish".  Basically a way to indicate in a form that certain Sections should appear as tabs at the top, so as to not have to scroll way down on long forms.  So that would probably eliminate the need for this work-a round.  But until then this technique is useful for long forms.

  • Author
  • Quickbase Alumni
  • July 17, 2015
Excellent...thanks for the info.  I think that would be great enhancement and way to organize forms.  It would be also help users more easily understand what type of info is on more complicated forms and facilitate navigation.

Forum|alt.badge.img+1
  • Quickbase Alumni
  • February 12, 2016
Would someone be able to help me with this procedure?  I'm not sure where I should be entering the formula-url?

  • Author
  • Quickbase Alumni
  • February 12, 2016
Vinny,

Per Mark's instructions above, I set up a new formula url field and chose to display it as a button (in field settings).  I put it  at top of form, but you can put it anywhere on the form that you may want to access it from.  
The formula looks like: "javascript:void(window.location.href='#xyz');"    where xyz is what ever you want to call it.


Also, per Mark's instructions above, you have to also create an anchor tag which defines where you jump to when you press the button you created.  This anchor tag is a new field you have to create,  a formula-text field with HTML enabled.  The formula looks like:  "<a name=xyz></a>"

Tony

Forum|alt.badge.img+1
  • Quickbase Alumni
  • February 13, 2016
Thanks Tony!  Was a little unsure at first, but worked perfectly!