Comments (7)
Thanks for the feedback. This is a known issue that we will be addressing in
the near future.
Original comment by [email protected]
on 1 Jun 2010 at 6:36
- Changed state: Accepted
from php-form-builder-class.
Glad to hear that. Thumbs up for the project so far. I like this form builder
class a
lot!
Original comment by [email protected]
on 1 Jun 2010 at 6:44
from php-form-builder-class.
The jquery ui datepicker has the options:
changeMonth
changeYear
You could add changeMonth: true, changeYear: true, into the parameters of the
datepicker.
However I have found an unrelated bug where if you press "today" on the
datepicker
dialog, the date is not actually entered into the field.
When the changeMonth and changeYear are turned on, when you select a year at
the top
and dont click on a date at the bottom, the date does not change, which seems
awkward, and not how I would expect. I am assuming its just not setting the
value
into the textbox properly.
Will have to look into that some more.
Original comment by [email protected]
on 2 Jun 2010 at 1:48
from php-form-builder-class.
Actually the today button is supposed to just take you to today's date so you
can
select it... and the chooseMonth/Year are not supposed to fire...
Honestly the buttons turned on at the bottom seem quite useless, I would change:
$("#{$form->jqueryDateIDArr[$d]}").datepicker({ dateFormat:
"{$form->jqueryDateFormat}", showButtonPanel: true });
to:
$("#{$form->jqueryDateIDArr[$d]}").datepicker({ dateFormat:
"{$form->jqueryDateFormat}", changeMonth: true, changeYear: true });
which will give you the month and year selectors and not show the buttonPanel, I
would also get rid of the "click here to select a date" thing, and replace it
with no
text and a calendar icon to the right of the text box.
Original comment by [email protected]
on 2 Jun 2010 at 2:04
from php-form-builder-class.
I don't mind that the month/year selectors don't fire the date selection. In my
opinion if someone wants to enter by example it's birth date, he doesn't want
to fire
the date selector when changing years/month. He goes to the correct date/month
and
then selects the date he wants. That last action should trigger date selection.
Your idea with putting a calendar icon next to the field is also a possibility,
but
here we should take into account that positioning the icon should not ruin the
layout
of the form (the date field should be shorter to take into account the icon
size)
Original comment by [email protected]
on 2 Jun 2010 at 7:52
from php-form-builder-class.
The latest working copy includes the changeMonth/changeYear options in the date
and datetime elements. This
can be downloaded by running svn checkout
http://php-form-builder-class.googlecode.com/svn/trunk/ php-
form-builder-class.
Because this is a working copy, and not a stable version release, it should be
noted this falls under the "use at
your own risk" category.
- Andrew
Original comment by [email protected]
on 2 Jun 2010 at 1:00
from php-form-builder-class.
Original comment by [email protected]
on 2 Jun 2010 at 5:22
- Changed state: Fixed
from php-form-builder-class.
Related Issues (20)
- Default value for a radio button HOT 2
- add custom ajax
- Submitting Obejcts as JSON strings instead of traditional POST
- Error Submit Ajax form
- Form Builder Class Submit Button - No Value HOT 8
- Multiple Select - Multiple values not showing as pre-selected HOT 1
- Update to Bootstrap 3 HOT 4
- Doesn't update if Google Spreadsheet Column Name is a Number
- send and receive data to-from mysql db
- javascript load multiple times in pfbc(PHP Form Builder Class - Imavex) HOT 1
- Element Select and text value
- Radio buttons HOT 2
- Bootstrap 3 support
- Nginx ajax file upload error HOT 1
- How to add selected="selected" on Select with PFBC 3.1? HOT 3
- How to compare two elements's values (e.g. password / password new)
- How to compare user entered element value with DB content?
- accentuation on the placeholder
- Custom CSS
- Having a multiple default in a Multiple Select
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-form-builder-class.