Jim,

On Fri, May 1, 2020 at 11:53 AM James Crate via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Suppose you have a section on the form with labels/fields for payment
> info. You have a popup with payment type, and fields for credit card, ACH
> (bank name/acct number), check, cash. When you choose a payment type, you
> want to show the labels/fields for that payment type, and hide any other
> payment labels/fields. If you thought far enough ahead to name all your
> payment fields correctly, maybe you can make it work. But if your fields
> aren’t already prefixed properly so you can do this with wildcards, then
> you have a lot more messing around to do.
>

I have not had any great joy attempting to use pop-ups with object
references. Haven't tried in v18 so maybe it's improved. So, yeah - that
probably sucks. For these sorts of things I build a menu on the fly and
call it from a button or click event on the field. I really like being able
to easily set the placeholder text on fields like that. The problem with
pop ups/dropdowns is there is all sorts of implicit data binding that 4D
just handles in classic but isn't (at least wasn't) there for working with
Form and references.
But with respect to changing the names of a few form objects why is that a
deal? The form objects can be named anything - doesn't matter what the
field names are.

Unless you are trying to update an existing form. My experience here is to
put whatever I want to do in ORDA into a separate form and get it working
the way I want. Then put that on the existing form as a subform. If you
make the subform form object an object type (jeesh the nomenclature) it's a
pretty seamless addition.

-- 
Kirk Brooks
San Francisco, CA
======================
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to