Logout link in submission message

Hi,

I’m looking for a hook (or different option) to add link (to logout or edit form) in a message displayed after entry was submitted. I know I could simply make a redirection but that’s not the idea – I’d like the user to know that he submitted the form succesfully and he should logout now or edit the submitted form.

Second problem – the conditional display doesn’t work in one of my forms (no idea why). Field nr 1 consists of 4 checkboxes – with values separate form the label (but the values for each checkbox in a field are the same). Field nr 2 is a simple textarea and I need to apply condition – I’d like to show this texarea only when checkbox nr 4 is selected. It looks like a basic thing for FPro, but something is going wrong – the textarea is shown if any of the checkboxes in field 1 is selected.

Regards,
Bartosz

You can insert a logout link by typing it in.
[siteurl]/wp-login.php?action=logout

What are you currently using to prevent that textarea from showing? Something like this should do the job:
[if 25 like="value of checkbox 4"][26][/if 25]
Replace 25 with the ID of the checkbox field, and 26 with the ID of the textarea.

I tried that but inserting the shortcode doesn't echo the logout link for me - at least in the update form message - it just echoes the string.

For the conditional display I'm just using the Conditional Logic.

I'm not sure what you mean, but you don't have to use any shortcodes for the logout link. The logout link is always the same and can just be typed into your message.

What conditional logic?

Inserting this into the update massage:
[siteurl]/wp-login.php?action=logout

displays this:
[siteurl]/wp-login.php?action=logout

instead of:
http://domain.com/wp-login.php?action=logout

This conditional logic:
http://formidablepro.com/knowledgebase/using-conditional-logic/

You don't need to use [siteurl]. This is an example. You can replace it with your site url. This is not a Formidable question.

Can you please attach a screenshot of the conditional logic you are using?

It definitely was a Formidable question - you just could say that HTML is allowed there and it would be clear.

The screenshot for conditional logic is attached.

 


Attachment:
cl

HTML is allowed there.

Can you provide a link to your form?

There is no form on that page.

It's accessible after login. That's why I send you login & password.

The form is on http://www.salesense.pl/ankieta/ not http://www.salesense.pl/logowanie/

When you use separate values, you cannot have multiple options with the same saved value. Either don't use separate values, or make sure each option is different.

After login you're redirected to that page. You won't access that page without loggin in.

Separate values - that's what I thought (and mentioned in my question). More - if you use one value different and 3 the same it won't work either. A thing to fix in my opinion.

Logout link is not possible to do in a way you suggested on custom login (as in this case) because HTML is not able to generate a nonce for logout validation.

Nonetheless thank you for the "great" support.

Topic closed.