Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

formular

Empfohlene Antworten

guten tag

bitte ich habe so ein Problem

ich habe so ein Formular mit 13 reisende(13 textboxe)

und habe so eine funktion eingebaut ,die mir die anzahl der reisende ausgibt.

und das problem ist zwar:

ich will die anzahl der eingetippten textboxe und auch die anzahl alle felder bis auf dem letzten gefülten textbox (zb die drei ersten textbox gefüllt und das vierte und fünfte leer sind aber sexte und siebte gefüllt sind)muss ja kriegen dass 5 reisende gibt und die arraylist.count=7

habt ihr mich verstanden?

bis dann

Hi

prüfe doch einfach in einer Methode ab, ob in den Textboxen bzw. in den einzelnen Arrayfeldern was drinsteht, oder ob sie NULL bzw. leer sind.

Du könntest ja auch erst die Textboxen abfragen und dann ein Array mit der entsprechenden Größe dynamisch erstellen.

Gruß

Steinadler

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.