Jump to content
Sign in to follow this  
rch

javascript

Recommended Posts

Hi

i trying to include a captcha in a stylesheet, http://www.archreality.com/jcap/#j1, but i cant do it.

can anyone help me?

tks

Share this post


Link to post
Share on other sites

I would not include JavaScript code directly in the XSLT stylesheet, this may lead to problems.

Just include it by

within the head tags of your html code.

Then proceed as described on the website you have provided.

Share this post


Link to post
Share on other sites

I would not include JavaScript code directly in the XSLT stylesheet, this may lead to problems.

Just include it by

within the head tags of your html code.

Then proceed as described on the website you have provided.

Hi Martin, Is it the way to grab result of Javascript to Filemaker field?

Zagino

Share this post


Link to post
Share on other sites

hi Martin, tks

i have put that in de header and follow the instructions but i c'ant put it to work. i have problems whit the img.

tks, again

rch

Edited by Guest

Share this post


Link to post
Share on other sites

Sorry, I have made a little mistake when copying the code, it is without the semicolons (strange, I thought that I had not entered these ...)






The images you put in the img folder of your web root folder.

Share this post


Link to post
Share on other sites

Hi Martin, Is it the way to grab result of Javascript to Filemaker field?

Zagino

Not quite, this is only the beginning. Normally you would use some AJAX (Asynchronous JavaScript And XML) technology to populate a FileMaker field from JavaScript.

Have a look at the Yahoo! User Interface (YUI) Library, especially the Connection Manager part.

Share this post


Link to post
Share on other sites

hi martin, tks again

i put the img folder, first in xslt folder and after in root folder but in the stylesheet i just see the field to write the letters and de button, don't see the usual icon of missing img.

in html it works properly.

tks

Share this post


Link to post
Share on other sites

yes i can, but just tomorrow, its in my office

tks

Share this post


Link to post
Share on other sites

<?xml version="1.0" encoding="UTF-8"?>

<?xslt-cwp-query params="-db=convidado&-lay=contas&-grammar=fmresultset&-encoding=UTF-8"?>

<?xslt-cwp-buffer buffer-content="true"?>

Add Record

.style1 {color: #000066}

.style4 {color: #000066; font-weight: bold; }

Navigation Menu

Início

Page Description

Indicar os dados


Page Body

browserecord.xsl

contas

Display record field values

Início do contrato:


data em texto inicio()

data em texto inicio

Termo do contrato:


data em texto termo()

data em texto termo

[b]Tipo de contrato: [/b]


Tipo de contrato()

Tipo de contrato

[b]Vencimento base: [/b]


Vencimento base()

Vencimento base

[b]Diuturnidades: [/b]


Diuturnidades()

Diuturnidades

[b]Outras importâncias: [/b]


Outras importâncias()

Outras importâncias

[b]Nº de horas semanais: [/b]


Nº de horas semanais()

Nº de horas semanais

[b]Nº de horas diárias: [/b]


Nº de horas diárias()

Nº de horas diárias

[b]Gozou férias no ano anterior: [/b]


Gozou férias no ano anterior()

Gozou férias no ano anterior

[b]Gozou férias no ano da cessação: [/b]


Gozou ferias no ano da cessação()

Gozou ferias no ano da cessação

[b]Majoração de férias: [/b]


Majoração de férias()

Majoração de férias

Display record form controls

Share this post


Link to post
Share on other sites

hello again martin, tks for your help

i try it before, change place of scripts, change stylesheet forms...

others javascript work fine, some complex. in html it work fine too

maybe the jcap is not well formed.

tank-you

rch

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    MartieH 
×

Important Information

By using this site, you agree to our Terms of Use.