repeating

Infopath 2007 Repeating table - two data connections

I have two data connections. One (we'll call DC1) pulls FIRSTNAME and LASTNAME from a database. The other, (we'll call DC2) uses this information to query a web service that returns a USERNAME after matching it to another database. On my form, I have a repeating table that lists all the information from DC1. In the repeating table,...

Repeating "Events" (Calendar)

I'm currently working on an application that allows people to schedule "Shows" for an online radio station. I want the ability for the user to setup a repeated event, say for example:- "Manic Monday" show - Every Monday From 9-11 "Mid Month Madness" - Every Second Thursday of the Month "This months new music" - 1st of every month. Wha...

In Perl, how can I detect if a string has multiple occurrences of double digits?

I wanted to match 110110 but not 10110. That means at least twice repeating of two consecutive digits which are the same. Any regex for that? Should match: 110110, 123445446, 12344544644 Should not match: 10110, 123445 ...

Jquery Onlick not happening second time

I'm a bit confused as to why this isn't working; I assume that because I'm adding the class and its not being added back into the collection I'm not sure. Here it is on a jsbin http://jsbin.com/ayije although code is below also. Either way I can only get the action to happen on an element once; <html> <head> <script src="http...

How to pre-populate a summed field in an Infopath repeating table

I have an Infopath 2007 form with several views, meant to be used in a browser. I'm having trouble pre-populating a field in a repeating table, starting with a given value and then using a formula-derived default value. On the Summary view, I ask for a project's TotalCost and the current fiscal year's projected spending (CurrentFYSpend)...

Any way to add paste multiple row data into an InfoPath repeating table?

My users use Excel to come up with some ad-hoc lists of buildings we own. I'm building an InfoPath form to manage contracts on those buildings. I'm looking for a way to let my users specify the buildings they need in Excel, and paste that list into the InfoPath form Repeating Table control. The table has multiple fields; the users woul...

Auto-repeat structures using simpleXML?

I am defining the elements of form in a simple XML structure like so: <subtab id="page_background" label="Page Background" prefix="page"> <input label="Background color" field="bgcolor" type="color"/> <input label="Background image" field="bgimage" type="image"/> <space /> </subtab> etc. I have large blocks containing abs...

Perforce: Re-reverse-integrating a changelist

(I've already asked this on SU; while I appreciate the Tumbleweed badge there, I'd prefer an answer...) I have a reverse integration pending that I'd like to perform again on the files that are checked out for the integration. The use case is when I've made a change in the integration source and I'd like to propagate it to the integrati...

Is there a way in InfoPath to copy the contents of an entire repeating text field from one field to another?

Background: I am attempting to create an InfoPath form that will allow me to maintain a single set of raw instructions that I can render using alternate views in InfoPath. I currently have two (2) views; Data Entry & Change Management. The Data Entry view allows me to maintain the common list of instructions while the Change Managemen...

JS Image Slider with mouseover and auto repeating images?

Hey is there anything similar to this http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm somewhere out there but just with auto repeating images (so that the gallery doesn't stop on the last image)? thx, mia ...

inline div background not showing up

I'm trying to use two divs, one with a non repeating background in the left corner to serve as a 'curved border' image, and the second div, within that one, with a background that is offset by the width of the first div's image so that it seems to be one solid image, that fluidly stretches with the page width. I tried doing this the way...

Rosetta Stone: Building a string consisting of a character repeated n times

This question has been asked so many times for so many different languages, with some fascinating answers. I propose compiling the answers here so we can compare them side by side. Also, how is it done in the languages not yet "covered" by a question on SO? One programming language or idiom per answer, please. ...

Converting a repeating binary number to decimal (express as a series?)

Given a binary number that repeats, for example 0.(0011) or 0.0(101), how would one go about converting it to decimal? What I've been able to dig up so far is the simple method for converting a terminating binary number to decimal, as below: res(N+2) = res(N+1) / 2 + res(N) where res is the result after step N, and N is the current i...

I can't get 'return false' to keep .live() from repeating code propogation

I want this to be set up so that when a certain body of text is clicked, a text input field pops up, and the user can enter data into the field, then either click a 'save' or 'cancel' button and either send it to database or reset the value, respectively. However, despite usage of 'return false', I can't seem to keep this code from activ...

PHP contact form overwrite fields issue repeating value

H I'm using php contact form from http://phpfmg.sourceforge.net/home.php. I thought I'd add an onfocus effect so when i click in the fields the value dissappears automatically. But when I submit say if haven't filled in my requried fields I get this the values appearing again like <input type="text" class="text_box" onfocus="if(this.v...

IE6 the last three characters in a div are being repeated else where in the page? really weird

Hey, Basically i have an issues (in IE6) where the last three characters of a line of text in a div are being repeated further down the page even though they are only in the HTML once. http://www.disturbmedia.com/jason/test/ please see the numbers in black, its always the last three characters that get repeated, so strange. I have neve...

Infopath - Repeating sections

I have struggled with this for 2 days and posted this question at a couple of other sites but with no luck. I am creating a form as follows. I have an "outer" repeating section in which the user enters a work item id and then selects as many names as he/she wishes from a series of drop down lists. When the user clicks a button (also in...

Repeating group or not

Is SName in the following table considered a repeating group? link text Each of the subject listed in the SName field is in a separate cell. As far as I know a repeating group is when a cell contains more than one value. Therefore I am not sure since the subjects are in separate cells. ...

Check for repeating dates.

I am creating a calendar in PHP and in the database have a date, let's say 6-10-10. Sometimes I have repeating events, stored as weekly repeating, so if the date is 6-10-10, and I am repeating an event every two weeks from that day (including that day) what is the best way to find dates for every two weeks from 6-10-10? For example, le...

AlarmManager - How to repeat an alarm at the top of every hour?

I want for an event to fire every hour (at 5:00, 6:00, 7:00, etc...). I tried with a persistent background service with a thread but it wasn't the right solution because of: battery consumption service termination, due to android memory management So I'm trying with AlarmManager. It works if I set an alarm to fire in X seconds (using...