Search found 9 matches

Go to advanced search

by Dan Coates
Wed Jul 08, 2015 6:47 pm
Forum: Issues
Topic: How to Reset a Select Box?
Replies: 8
Views: 2300
 
Jump to post

How to Reset a Select Box?

Many thanks, that worked perfectly.

I quite often find it a job to know, just how they syntax should be used in Appery, perhaps a tutorial on a broader use of syntax would be a good idea for begginers?

by Dan Coates
Tue Jul 07, 2015 7:24 pm
Forum: Issues
Topic: How to do I capitalise the first letter of each word on entry to the database?
Replies: 4
Views: 1588
 
Jump to post

How to do I capitalise the first letter of each word on entry to the database?

Solved it!, for anyone in the future who stumbles upon this question, here is the answer. Place the following into a new javascript file in the project. String.prototype.toTitleCase = function() { var i, j, str, lowers, uppers; str = this.replace(/([ \W_]+[ \s-]*) */g, function(txt) { return txt.cha...
by Dan Coates
Tue Jul 07, 2015 6:35 pm
Forum: Issues
Topic: How to Reset a Select Box?
Replies: 8
Views: 2300
 
Jump to post

How to Reset a Select Box?

Anyone? Is there a better Community out there with proper forums, that have discussions by users, rather than this question and answer format?

by Dan Coates
Mon Jul 06, 2015 9:00 pm
Forum: Issues
Topic: How to do I capitalise the first letter of each word on entry to the database?
Replies: 4
Views: 1588
 
Jump to post

How to do I capitalise the first letter of each word on entry to the database?

You guys are not very good at giving examples are you! that page doesn't give a very good example. return value.toUpperCase(); This makes all words full caps. Also how would I get it to capitalise only the first letter of each word? Is there a Capitalise command? or anywhere with a list of Jquery co...
by Dan Coates
Mon Jul 06, 2015 7:33 pm
Forum: Issues
Topic: How to Reset a Select Box?
Replies: 8
Views: 2300
 
Jump to post

How to Reset a Select Box?

I still have no idea, I've tried various methods from that page and none of them have worked. If I create a button and enter the following javascript on the click action, to reset the list box called "CustomerStatus". Apperyio('CustomerStatus').val( Apperyio('CustomerStatus').prop('default...
by Dan Coates
Sun Jul 05, 2015 8:03 pm
Forum: Issues
Topic: Sort list service alphabetically
Replies: 8
Views: 8829
 
Jump to post

Sort list service alphabetically

excellent thank you.

by Dan Coates
Sun Jul 05, 2015 8:00 pm
Forum: Issues
Topic: How to do I capitalise the first letter of each word on entry to the database?
Replies: 4
Views: 1588
 
Jump to post

How to do I capitalise the first letter of each word on entry to the database?

How do you convert input box value to capitalise the first letter of each word? I know .CapitaliseInput { text-transform:capitalize; } Will do the visual aspect, but that won't' save the value as capitalised into the database, is it possible to do an update on the database as it's sent to transform ...
by Dan Coates
Sun Jul 05, 2015 6:01 pm
Forum: Issues
Topic: Sort list service alphabetically
Replies: 8
Views: 8829
 
Jump to post

Sort list service alphabetically

Dragging this back up as the tutorial on sorting is no longer there, so how do you do it please?

by Dan Coates
Sun Jul 05, 2015 3:35 pm
Forum: Issues
Topic: How to Reset a Select Box?
Replies: 8
Views: 2300
 
Jump to post

How to Reset a Select Box?

Hi, How do you reset a select box on the click of a button? I have tried the following JavaScript: Apperyio('CustomerStatus').empty().selectmenu('refresh'); but it clears the items from the Select Box, leaving just a blank useless select box, not reseting it to how it is on page load. I have also tr...

Go to advanced search