From: Larsen <larsen007@web.de>
To: development@lists.ipfire.org
Subject: Re: [PATCH] Mark required input fields with a star
Date: Sun, 28 Jun 2015 22:21:56 +0200 [thread overview]
Message-ID: <op.x0yiuuxfcahio0@honk.fritz.box> (raw)
In-Reply-To: <1435401952.13892.88.camel@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 984 bytes --]
On Sat, 27 Jun 2015 12:45:52 +0200, Michael Tremer
<michael.tremer(a)ipfire.org> wrote:
> Alright. The first two TODOs are easy. There is a variable called $blob
> which is defined a couple of lines above. You would need to change the
> if statement so that it checks for "net" and that should do the job I
> guess.
Thx, fixed and looking good.
> The other huge blocks need to be cut in two pieces. Usually they use
> something that looks like this:
Hmm, it looks a little bit ugly as I have to split a <td>-element in half
to enter the <img>-element, but it will work.
Though, another problem came up:
When the user changes the value of the radio button to select between
"Customer" and "Provider", the page would need to be reloaded so the star
is displayed or removed from the fields that are only necessary when
"Provider" is selected, but not when "Customer" is selected.
How can I do that (without loosing any user input that has not been saved
yet)?
Lars
next prev parent reply other threads:[~2015-06-28 20:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 21:31 Larsen
2015-06-04 21:46 ` Larsen
2015-06-05 14:45 ` Michael Tremer
2015-06-05 14:43 ` Michael Tremer
2015-06-07 10:05 ` Larsen
2015-06-24 22:28 ` Larsen
2015-06-25 10:05 ` Michael Tremer
2015-06-25 10:28 ` Alexander Marx
2015-06-27 7:37 ` Larsen
2015-06-27 10:45 ` Michael Tremer
2015-06-28 20:21 ` Larsen [this message]
2015-06-29 12:55 ` Alexander Marx
2015-08-22 20:43 Larsen
2015-08-26 15:34 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.x0yiuuxfcahio0@honk.fritz.box \
--to=larsen007@web.de \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox