Different appearance behaviour: max...

User 187934 Photo


Senior Advisor
20,271 posts

I would try resaving and uploading the form because I used the fb file you posted as is and it shows two errors inine when I hit the submit button.
http://ericrohloff.com/coffeecup/ccforu … anmeldung/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 37778 Photo


Ambassador
34 posts

Eric Rohloff wrote:
http://ericrohloff.com/coffeecup/ccforum/formbuilder/lak_anmeldung/lak_anmeldung/

Thank you for testing bei fb-File

Upps! This link shows 8 errors on TOP in a child window again, not 2 like at your system, using Firefox 45.0.2. (screenshot attached).

Then I had an idea and switched OFF AVAST Antivirus free (function: "for 10 Minutes"), and upps, now there are only shown 2 messages near the input-fields.

What kind of function Avast may block in WFB scripts?
I use the Avast standard properties.

I think you know, where the on top child-window-message is generated (by the way I changed the translation to German in 2 friles) and what is the switch for. Well, this function exists in 2 WFB-inc (ZIP attached).
Found in: C:\Programme\CoffeeCup Software\Web Form Builder\library\server-scripts\fbapp\inc\
Any suggestions?
Attachments:
User 37778 Photo


Ambassador
34 posts

Did you test my link too?
http://roosen-runge.de/anmeldung_lak/anmeldung_lak.html
What shows this link to you?

For me switching Avast ON or OFF makes no difference, always only the childwindow on top is shown.
    - What is the function showing the errors in childwindow on top without limiting max. errors to "2", and
    - what is the function to show only 2 errors inside?
There must be a "switch". Sorry I am not as experienced in PHP-language to find it out.

User 37778 Photo


Ambassador
34 posts

Must the numeric value of the CSV-file set from "640"-standard to "666" to write to?
It is still "640", but written to nevertheless.

For uploading I use WS_FTPpro parameters "binary" and "change all filenames to small characters".
May be a problem with "JSON.php"?
User 187934 Photo


Senior Advisor
20,271 posts

When I hit your submit button I get two errors showing inline with no window on top.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 37778 Photo


Ambassador
34 posts

As you wrote, I loaded up all files new to my server, 3rd time.

I tried your an my link and there is also a difference, wether I empty the cache of FF after hitting or not.

I have sent the 2 WFB-INC before, inside is the code, text, which appears in the top childwindow, you never got on your server. This top-message is no OS- nor FF-message, but comes from WFB inside. Miraculous...:rolleyes:

Somebody, who wrote the childwindow-code, did this from any reason...
User 187934 Photo


Senior Advisor
20,271 posts

Sorry, I guess I'm lost as it's not clear to me what your looking for.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 37778 Photo


Ambassador
34 posts

Sorry about, but ...
I found the 2 INC.PHP-files which cause the childWindow on top...
Checking the submit-button I can see that top childwindow also on your server with all error-messages for a short moment, when the page is loading slowly. In a second step the top window disappears and only the red inline error-messages appear, as "max. error" = 2.
That seems to be the normal process.
_______________________________________________________
displayerrors.inc.php
_______________________________________________________
[...]
<body>
<h4><?php echo _T('Bitte die folgenden Pflichtfelder ausf&uuml;llen:'); ?></h4>
<ul>
<?php
$page = FormPage::GetInstance();

if( $page ) $myErrors = $page->GetErrors();
else if( isset( $errors ) ) $myErrors = $errors;
else $myErrors = array( 'err' => 'Unspecified error.' );

foreach( $myErrors as $error ) {
if( isset( $error['err'] ) ) printf('<li class="error">%s</li>', $error['err']);
if( isset( $error['warn'] ) ) printf('<li class="warning">%s</li>', $error['warn']);
}
?>
</ul>
</body>
</html>

_________________________________________
mergeformpost.inc.php
_________________________________________
[...]
if( $count ) {
$node->removeAttribute( 'style' );
$node->appendChild( new DOMElement( 'h4', _T('Bitte die folgenden Pflichtfelder ausf&uuml;llen:') ) );
$node->appendChild( $li );
}

[...]
__________________________________________

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.