How to Hide or Disable 'Search for Address' field in Forms

  • 39
  • 1
  • Question
  • Updated 1 week ago
  • Answered
My app is designed for workorder entry in the construction industry, and the vast majority of addresses entered do not exist yet.  The 'search for an address' field does not help, and is even a liability at times.  How can I hide or disable this part of the 'Address' type field?
Photo of Brad Lemke

Brad Lemke

  • 114 Points 100 badge 2x thumb

Posted 2 months ago

  • 39
  • 1
Photo of Kingsly SD Samuel

Kingsly SD Samuel

  • 476 Points 250 badge 2x thumb
"Customize this form" to select and remove the field from the "elements" tab or go to "dynamic rules" and enable a rule to "hide" the field under certain conditions.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,932 Points 50k badge 2x thumb
Brad is looking to disable that top line of the address field which is a search box.  I don't think that there is a way to do that.
Photo of Kingsly SD Samuel

Kingsly SD Samuel

  • 476 Points 250 badge 2x thumb
Oh ok. I thought there was a way before (at the user level or report level), for I remember having issues displaying that option for one of my users in the past. Any case, now it does look like a default search area.
Photo of Brad Lemke

Brad Lemke

  • 114 Points 100 badge 2x thumb
Correct on the first comment, Coach.  I've been looking for ways to disable or hide it for a few months now, but it's been a passive search due to the low-priority of the issue in relation to the other tasks I needed to knock out.  It's becoming a higher-than expected-priority item now that i'm training more and more non-power users for the app.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,932 Points 50k badge 2x thumb
An option is to not use that field type at all and just back to the way we used to do it with separate fields.

Add 1
Add 2
City, State, Postal


You would lose the embedded map, but it still easy to make a formula URL that will pop up a google map by feeding the address components in the correct syntax.

The separate fields can be displayed in an single address block formula in View mode.

List("\n",
[Street 1],
[Street 2],
List(", ", [City], [State]),
[Postal Code])
Photo of Brad Lemke

Brad Lemke

  • 114 Points 100 badge 2x thumb
I've entertained that idea.  There's a great deal of app re-programming that will result, however.  The entire Dispatch system integration, 11 exact forms, unique workorder ID programming based on the street address (to prevent duplicate order entry), and several other internal systems/filters/reports/functions that are based solely off of this field.

I'm not saying I won't do it, but I would need to set aside a few days to QC the system before sending it live.
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 27,694 Points 20k badge 2x thumb
Address Search Field Begone:



Use this code with IOL Technique:
$("#_fid_6").parent().hide();

Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 27,694 Points 20k badge 2x thumb
Yes that is it.


Photo of Brad Lemke

Brad Lemke

  • 114 Points 100 badge 2x thumb
Well, that took less than 10mins to integrate.  Much appreciated, issue resolved!
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 27,694 Points 20k badge 2x thumb
For the benefit of others I think you meant to say:

"Well, using the IOL Technique that took less than 10mins to integrate".
(Edited)
Photo of cowannbell

cowannbell

  • 770 Points 500 badge 2x thumb

Hey, I have something similar to this but I want to make all of the address fields except the search read only.  I'm want to force my users to use the search.  Is there anyway to do this with form rules?