+1

On Thu, Feb 20, 2020 at 4:25 PM Farai M <faraimutamb...@gmail.com> wrote:

> For drop downs use JavaScript script or JQuery to set the value of the
> value of the selected item.For input use an if on the value if it's
> populated then the input value is equal to the attribute us you put it
> .Another option is to use the default on attribute but make it an empty
> string so you don't have none when attribute is empty .
>
> On Thu, Feb 20, 2020, 12:14 PM Dick Arnold <darnold...@gmail.com> wrote:
>
>> I used a value of {{attribute value}}.  so it is nor a fixed value, but
>> is the value submitted.  Doesn't work well for drop down input fields.
>> still researching.
>>
>> On Saturday, February 15, 2020 at 12:50:59 PM UTC-6, Dick Arnold wrote:
>>>
>>> I have a personnel database which has to be edited to keep it current.
>>> I have created search parameters to find the person to edit.
>>> The exact name of the person is not always known, therefore the name
>>> field for searching can contain only a few of the characters.  This can
>>> create a list of several people.
>>> After the search parameters are entered a "Search" button is clicked and
>>> the output, if any, is displayed in a table.
>>> If the search parameters need to be improved, I want the original
>>> (current) search argument to be retained in the argument field so I do not
>>> need to re-type ALL the search parameters, just the ones I want to change.
>>>
>>> I have not been able to find a way to retain the value in the search
>>> input box,
>>>
>>> Does anyone know how to accomplish this?
>>>
>>> Here's the input for one of the input boxes.
>>>
>>> <input type="text" id="name_id" name="name_id" placeholder="Enter a few
>>> characters">
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/77088a26-742b-4bb4-8f2f-b74c5375119d%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/77088a26-742b-4bb4-8f2f-b74c5375119d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMeub5MC4smYxE%2BJjksURBP0aEWtCN%3DTf0-ZeDh8AgmdLy42eg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMeub5MC4smYxE%2BJjksURBP0aEWtCN%3DTf0-ZeDh8AgmdLy42eg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD%3DM5eS77KgQL8eB1sp%3DZKLMUCjkfXGE0_fe0d5b%2BDKHZhdJpQ%40mail.gmail.com.

Reply via email to