Hi All,
I have come to a block with what i’m trying to do, can anyone assist?
I have a databse full of entries. When a user is logged on, i want the button on the ‘My Account’ page to change depending on if they have filled out a form or not.
I have placed my dataset on ‘My Account’ page and set it as Read-Only.
I’m after a peice of code that carrys out the following steps:
- Filter the dataset by Owner, to find any entires submitted by the currently logged in user.
- If there is an entry, change #button3 to be “Update Your Business” and link to a certain page.
- If there is not an entry, change #button3 to be “Register Your Business” and then link to a different page.
Any help would be greatly received.
Tim