Hi All

I have some variables that I want to include in a mail form so that
the values are sent to me by email.

For example I have a emailer script something like (based on Erics
mailertext) -

{{smallform{Incrivir-se - <<wikify {{config.options.txtCurso}}>>
(programado por - <<wikify {{config.options.txtData}}>>)
<html>
<form method=post target=responseframe action="domain/Inscrivir.php"
style="display:inline">
        <input type=hidden name=to value="s...@unigaia-brasil.org">
        <input type=text name=name style="width:49%" value="Nome"
onfocus="this.select()"><br>
        <input type=text name=email style="width:49%" value="Email"
onfocus="this.select()"><br>
        <input type=hidden name=subj value="Incrivir-se na Programa de
FlexiPDC"><br>
        <textarea rows=7 cols=50 name=msg style="width:99%"
onfocus="this.select()"></textarea><br>
        <div style="text-align:center">
        <font size=-2>Digitar sua informação e clicar </font>
        <input type="submit" value="inscrivir-se"
                onclick="var f=this.form;
                        if (f.name.value==f.name.defaultValue)
                                { alert('..e seu nome ?'); f.name.focus(); 
return false; }
                        if (f.email.value==f.from.defaultValue)
                                { alert('Por favor..seu endereço do email'); 
f.from.focus();
return false; }
                        target.style.display='block';
                ">
        </div>
</form><div class="fine" style="text-align:center;display:none">
        server response:<br>
        <iframe src="" name="responseframe" id="responseframe"
                marginheight=0 style="display:block;border:0;padding:0;margin:
0;width:100%;height:10em;">
        </iframe>
</div><hide linebreaks></html>}}}
{{fine{Entrar seus detalhes e mandar esta forma. A dentro 24 hours
confirmamos sua inscrição eou liberamos accesso os cursos.
<<tiddler HideTiddlerTags>>

To pass other data generated by the system I would like to be able to
include code like -

        <input type=hidden name=subj value=value of
config.options.txtVariable><br>

how can I access these config.options inside the <html> code?????

-----
In this case these config.options are being set when the call to the
email script is made (from inside a slices table )... like -

|Inscrivir-se|<script>config.options.txtCurso="Permacultura
Urbana";config.options.txtPreco="60";config.options.txtData=tiddler.title;</
script><<tiddler ShowPopup with:[[Inscrivir]]"inscrivir" "" "" 40em
sticky>>|

so maybe I could set the variables in a format other than
config.options......???? var preco = "60"......or something like
it....possible??

which options works best???

Thanks
Skye


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

Reply via email to