Oooops (my email is my name and the domain id ipcp.org.br)

Also, thinking about the possibilities of forms in this sense and have
three thoughts.

Using "silent" forms as a way of tracking participants use of the
course program - see separate thread- Silent Forms

Using forms activated by bookmarklets - see separate thread -
Bookmarklet Forms

Continuing the current line of development.

I have managed to modify the form in the tiddler so that it shows
various cousre options etc.....for now coded it by hand...
Modified the outline in the mailtext.php file so that the information
is emailed to me in a simple but clear format.

I am still hoping that these changes can be made more
dynamic...hopefully marks InlineJavaScript example will get me started
on that one.

And it occurs to me that the mailtext.php script has the data about
the courses....and has the ability to send it my email. It should be
simple to have aditional script hat formats the data and sends
(PUSH ?) it to a html file in "tiddler" format. Probably a in
purestore format so that an "administrative" TW can read
(<<loadTiddlers..>>) and manipulate the data.

Putting the information into DataPlugin format would be difficult as
it using " " to separate items and I image that those " " would
conflict with the " " in the php output line .....what about
slices...should be easy to put the data into slices..........and then
I just need the script that send s the data to the html file (which
would be a file on the same server - same folder with simple fixed
name).

I need help on that!!!

Skye
 t

On 20 Dez, 12:16, skye riquelme <[email protected]> wrote:
> Hi Mark
>
> could you send to me the examples you mentioned....using
> InlineJavaScript to generate a form and and an example of the
> serverside scripts you mentioned...so I can see how they are
> built...if its not appropriate to put them here.....you can use
> [email protected]
>
> Thanks.
>
> On 19 Dez, 17:58, "Mark S." <[email protected]> wrote:
>
> > In general, generating forms on the fly should be possible if the data
> > is regular. Using InlineJavascriptPlugin, I was able to generate a
> > form that looks plausible, at least to the Firebug tool. Since I
> > didn't have a handy script to invoke it against, I couldn't test that.
>
> > It might be easier to slice and dice data if each class was in its o
> > tiddler, but I suppose you're cutting and pasting out of a spreadsheet
> > or something? Also you will probably need an additional field/slice
> > for each class with a short 5 character id that can be used in the CGI
> > script. This is necessary since each field coming back has to have a
> > unique name.
>
> > On the server side, I used to use or write data collectors that would
> > either send *all* the fields, or forward certain fields that followed
> > a naming convention. So the script might, for instance, look for
> > fields that matched DATA_* in their names. In your case, you might
> > have names like SKY_0912A_startdate, and just send back the fields
> > that start with SKY (there are usually other hidden fields that don't
> > need to come back).
>
> > Mark
>
> > On Dec 19, 5:32 am, Måns <[email protected]> wrote:
>
> > > Hi Skye
>
> > > Eric made an advanced send form 
> > > here:http://academy.unamesa.org/Application
>
> > > I started a thread, where I tried to find out how to send it 
> > > here:http://groups.google.dk/group/tiddlywiki/browse_thread/thread/ef46155...
>
> > > I never got as far as to be able to send it from within the TW itself
> > > - my collegues eventually mailed the TWform back to me.
>
> > > Regards Måns Mårtensson
>
> > > On 18 Dec., 23:28, skye riquelme <[email protected]> wrote:
>
> > > > Ok....its not a plugin......its Erics "contact" tiddler...a simple
> > > > html form with a  onclick "send" function...the actual form is quite
> > > > simple...although I have managed to make it more complicated!!!!!
>
> > > > It sends to form info to a serverside php script....which Eric sent me
> > > > many months back...the heart of which is the line of code that I
> > > > mentioned....
>
> > > > Guess we need Eric to authorise me putting the php code up on this
> > > > group???
>
> > > > Thanks
> > > > Skye
>
> > > > On 18 Dez, 19:09, "Mark S." <[email protected]> wrote:
>
> > > > > Could you point out which plugin or technology of Eric's you are
> > > > > using?
>
> > > > > Thanks,
> > > > > Mark
>
> > > > > In this case, you might have fields that were
>
> > > > > On Dec 18, 9:32 am, skye riquelme <[email protected]> wrote:
>
> > > > > > Hi All
>
> > > > > > I am using Erics (TiddlyTools) contact form so that people can send 
> > > > > > me
> > > > > > an email...registering for courses.
>
> > > > > > I can change the form to include new courses...using check boxes and
> > > > > > dropdown lists of up-coming courses......and managed to change the
> > > > > > mailtext.php file that resends this information as an email...so 
> > > > > > that
> > > > > > it passes on the information from the contacts (html) form.
>
> > > > > > The issue is that new courses keeping coming up and older  courses
> > > > > > dropping off the list (they are passed/finished)...so I will be
> > > > > > continually and laboriously editing the html and php scripts all the
> > > > > > time........
>
> > > > > > ...SO is it possible to have the html form dynamically generate the
> > > > > > courses lists....maybe from tiddler slides? and include this into 
> > > > > > the
> > > > > > form ?...........AND then have the serverside php script use the 
> > > > > > same
> > > > > > info to structure the construction of the body of the email.
>
> > > > > > It may be easier to give an example......
>
> > > > > > A tiddler...or part of one (using tiddler.name##part names...or
> > > > > > slices) has the information about courses....
>
> > > > > > NameCourse#1, startingdate#1, startingdate#2 startingdate#3...
> > > > > > NameCourse#2, startingdate#1, startingdate#2.....
> > > > > > ....
> > > > > > ..now script in the mail form tiddler converts that information into
> > > > > > something like -
>
> > > > > > NameCourse#1<input name=NameCourse#1 type=checkbox /><sub><b>Select
> > > > > > date:</b></sub><br/>
> > > > > > <select name=NameCourse#1Dates >
> > > > > >  <option>startingdate#1
> > > > > >  <option>startingdate#2
> > > > > >  <option>startingdate#3
> > > > > > </select >
> > > > > > <br>
> > > > > > NameCourse#2<input name=NameCourse#2 type=checkbox /><sub><b>Select
> > > > > > date:</b></sub><br/>
> > > > > > <select name=NameCourse#2Dates >
> > > > > >  <option>startingdate#1
> > > > > >  <option>startingdate#2..................
>
> > > > > > STEP 1 - do-able?
>
> > > > > > STEP 2 - I imagine more tricky
>
> > > > > > The courses information...gets copied (I guess manually) into the
> > > > > > mailtext.php file.....and now it generates the code so that the
> > > > > > information from the html form is formated into the body of the 
> > > > > > email
> > > > > > that is sent....resulting in something like ---
>
> > > > > >                 else { // send message
> > > > > >                       mail($to,$subj,'[ Visitor IP: '.$id." 
> > > > > > ]\n\n".$name."\n
> > > > > > NameCourse#1: ".$NameCourse#1. "selected date: ".$NameCourse#1Dates
> > > > > > $."\n NameCourse#2:"........"\n".$msg."\n\n From: <".$from.'>');
> > > > > >                         echo "Thank you. Your message has been 
> > > > > > sent";
> > > > > >                 }
>
> > > > > > I am imagining this will not be so easy...and I see it as a great 
> > > > > > tool
> > > > > > for anyone using TWs online and interacting with the public.....I 
> > > > > > hope
> > > > > > this is possible...the other alternative might be GoogleDocs
> > > > > > Forms........but I am much more comfortable inside a TiddlyWiki 
> > > > > > !!!!!!
>
> > > > > > Thanks in advance
>
> > > > > > Skye

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to