NetTalk Central

Author Topic: Conditional Last on Line  (Read 3929 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Conditional Last on Line
« on: September 10, 2020, 03:06:44 PM »
Hi,

I have a situation where one field is usually the last on line, but occasionally there should be a second field shown after it. This isn't a CSS situation; it is a program setting that determines whether the second field appears on the page. I can get by putting each on their own line, but it would be intuitively clearer and aesthetically less awkward if they were on the same line.

Thanks.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Conditional Last on Line
« Reply #1 on: September 11, 2020, 03:59:20 AM »
Hi Casey,

I don't know for sure, but set it up so the "sometimes" field is set as "last on line" and the other one is not.
Not sure if that'll work - let us know.

cheers
Bruce

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Conditional Last on Line
« Reply #2 on: September 11, 2020, 12:36:06 PM »
Thanks, Bruce

That would work if the 'always' field was normally the bottom of the page. Otherwise when the 'sometimes' field isn't present, the next field is brought up to the same line as the 'always' field which would be very confusing for the user (the fields are not related).

As I said, this is an aesthetic, intuitive issue. The functionality is fine.  But if it isn't a lot of work, a conditional last on line property would be useful.  This isn't the first time I have encountered this issue.

Thanks again. 

BradT

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
Re: Conditional Last on Line
« Reply #3 on: September 11, 2020, 12:45:08 PM »
Casey,

What if you added a copy of the first field.  Put last on line on the second field and the original first field.  Then hide the copy of the first and the second field when appropriate and hide the original first field otherwise.

Brad