Jump to content

This topic is 7782 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi

I got a simple <text> & <text1> input fields (which are working perfectly) on my cdml page.

When I try to insert an [fmp-if:test.eq.1]<text>[fmp-else]<text1>[/fmp-if], everything is also working perfectly.... BUT, when I try to save I got a 102 erroe (which is field missing), but it is all there and you can see on screen the data of those fields.

To make a long story short :)

<text> - working

[fmp-if...] <text> [/fmp-if] - I cannot save but data is displayed correctly.

any ideas?? confused.gif

Posted

we need to talk a bit about your definition of > when I try to save "save"....<

save what? insert record? save the file.html?

post some more and perhaps we save a few walls from your head ;-)

All the best!

  • 1 month later...
Posted

Hi

sorry for the late reply...

I ment "submit" and not save.

Every time I insert an [fmp-if] in portal then I get the same result-> error on submit.

what could it be???

Posted

Here you go (I'll give you the general idea because i'm not at home...):

[FMP-Portal:DB1]

[fmp-if:test.eq.1]<textbox for db1::field1>[fmp-else][fmp-field:DB1::field][/fmp-if]

[/FMP-PORTAL]

-submit -clear

And one more thing - If I remove the IF statement and leave the textbox then it is working fine !!!mad.gif

  • 3 weeks later...
Posted

IF usually cannot process on the submit page.

Only if the submit page has IF as result of previous page query, then such IF will be processed by WC.

Generally speaking -- if you see the IF in source code of your page, WC didn't processed that IF condition.

This topic is 7782 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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