Jump to content
  • 0

Conditionally Open Registration Form if No Records Found


bluster2000
 Share

Question

I need to let users search for a possible registry entry based on certain criteria. Presently, if no matching criteria is found the form simply displays No Records Found message. Instad of simply showing the message, I would like, to automatically open a Registration Web Form if no records had been found. Is it possible?

Thank you,

Boris

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi Boris,

Caspio has an article which is explaining similar scenario. In this article it explains how to hide the map when "no records found". You can use the same technic and instead of hiding the map, redirect to a page where there is the web form.

Here is the article: http://howto.caspio.com/extensions/maps ... found.html

The code to redirect to another page is:

window.location="URL";

Best,

Bahar M.

Link to comment
Share on other sites

  • 0

Hi bluster2000,

Here is another option that you may try. You can insert a link where your users may go if there are no records found.

To do this, you may modify the localization of your DataPage.

Go to Localization > Results Pages > Messages > 351

Then, change the Custom Text to this: 

<a href="URL">No records found. Please register</a>

 

Please refer to this screenshot: https://prnt.sc/madqpm

-JolliBeng

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...