Sorry to ask this here but I did not find any information about my problem.

I created a webform and everthing works fine, but not the redirection after pressing the submit button. I tried to enter internal:node/14 and also http://www.iuronline.ch/node/14 in the redirection url field, but none of them works. Instead it falls back to the node/7 with is the node number for the webform itself and shows a white page. I tried also to enter the following code in the additional processing field, but still the same white page:

$node->webform['confirmation'] = 'http://google.com';

Can anybody help me? Thanks in advance.

Comments

quicksketch’s picture

This feature should be working. Unfortunately I can't reproduce it and I don't have many suggestions. Most modules won't interfere with webforms, so I'm not real sure where this could be occurring.

gasserol’s picture

Hello quicksketch,

thanks for your quick answer. Could the FCKEditor interact with this feature by blocking a correct inscription? I tried to switch over to source view and saw a lot of div statements before the simple line internal:node/14. I cleaned them out in source view but still the same result, only an empty page is shown as result and not the node i want.
Other idea? shall I use php code or full html as input format? can this interact with the feature?
Sorry to ask so many questions but I really need this working, my general service conditions depends on this, which is very important for a legal firm.

Thanks again and best regards from Switzerland
gasserol

gasserol’s picture

Mybe this helps, this is the source code I have when going to the webform page. The information internal:node/14 is not passed to the source code, at least I do not see it somewhere.

*********************************************************************************************************************

<form action="/node/7"  accept-charset="UTF-8" method="post" id="webform-client-form-7" enctype="multipart/form-data">
<div><fieldset class="webform-component-fieldset" id="webform-component-fieldset"><legend>Kundeninformationen</legend><div class="webform-component-textfield" id="webform-component-name"><div class="form-item" id="edit-submitted-fieldset-name-wrapper">
 <label for="edit-submitted-fieldset-name">Name: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <input type="text" maxlength="128" name="submitted[fieldset][name]" id="edit-submitted-fieldset-name" size="60" value="" class="form-text required" />
</div>
</div><div class="webform-component-textfield" id="webform-component-vorname"><div class="form-item" id="edit-submitted-fieldset-vorname-wrapper">
 <label for="edit-submitted-fieldset-vorname">Vorname: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <input type="text" maxlength="128" name="submitted[fieldset][vorname]" id="edit-submitted-fieldset-vorname" size="60" value="" class="form-text required" />

</div>
</div><div class="webform-component-textfield" id="webform-component-adr"><div class="form-item" id="edit-submitted-fieldset-adr-wrapper">
 <label for="edit-submitted-fieldset-adr">Adr: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <input type="text" maxlength="128" name="submitted[fieldset][adr]" id="edit-submitted-fieldset-adr" size="60" value="" class="form-text required" />
</div>
</div><div class="webform-component-textfield" id="webform-component-plz"><div class="form-item" id="edit-submitted-fieldset-plz-wrapper">
 <label for="edit-submitted-fieldset-plz">PLZ: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <input type="text" maxlength="128" name="submitted[fieldset][plz]" id="edit-submitted-fieldset-plz" size="60" value="" class="form-text required" />
</div>

</div><div class="webform-component-textfield" id="webform-component-ort"><div class="form-item" id="edit-submitted-fieldset-ort-wrapper">
 <label for="edit-submitted-fieldset-ort">Ort: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <input type="text" maxlength="128" name="submitted[fieldset][ort]" id="edit-submitted-fieldset-ort" size="60" value="" class="form-text required" />
</div>
</div></fieldset>
<fieldset class="webform-component-fieldset" id="webform-component-kontaktinformationen"><legend>Kontaktinformationen</legend><div class="webform-component-textfield" id="webform-component-telefon"><div class="form-item" id="edit-submitted-kontaktinformationen-telefon-wrapper">
 <label for="edit-submitted-kontaktinformationen-telefon">Telefon: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <input type="text" maxlength="128" name="submitted[kontaktinformationen][telefon]" id="edit-submitted-kontaktinformationen-telefon" size="60" value="" class="form-text required" />

</div>
</div><div class="webform-component-textfield" id="webform-component-mobile"><div class="form-item" id="edit-submitted-kontaktinformationen-mobile-wrapper">
 <label for="edit-submitted-kontaktinformationen-mobile">Mobile: </label>
 <input type="text" maxlength="128" name="submitted[kontaktinformationen][mobile]" id="edit-submitted-kontaktinformationen-mobile" size="60" value="" class="form-text" />
</div>
</div><div class="webform-component-textfield" id="webform-component-email"><div class="form-item" id="edit-submitted-kontaktinformationen-email-wrapper">
 <label for="edit-submitted-kontaktinformationen-email">email: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <input type="text" maxlength="128" name="submitted[kontaktinformationen][email]" id="edit-submitted-kontaktinformationen-email" size="60" value="" class="form-text required" />
</div>
</div></fieldset>

<fieldset class="webform-component-fieldset" id="webform-component-mein_rechtsproblem"><legend>Mein Rechtsproblem</legend><div class="webform-component-textarea" id="webform-component-frage"><div class="form-item" id="edit-submitted-mein-rechtsproblem-frage-wrapper">
 <label for="edit-submitted-mein-rechtsproblem-frage">Frage: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <textarea cols="" rows="" name="submitted[mein_rechtsproblem][frage]" id="edit-submitted-mein-rechtsproblem-frage"  class="form-textarea resizable required"></textarea>
</div>
</div><div class="textarea-identifier description">The ID for <a href="/admin/settings/fckeditor">excluding or including</a> this element is: edit-submitted-mein-rechtsproblem-frage - the path is: node/7</div></fieldset>
<fieldset class="webform-component-fieldset" id="webform-component-agb"><legend>AGB</legend><div class="description"><p>Bitte lesen Sie unsere <a target="_blank" href="http://www.iuronline.ch/node/15">AGB's</a> und best&auml;tigen Sie diese durch Ankreuzen des folgenden Feldes:</p>

</div><div class="webform-component-select" id="webform-component-lesebestatigung"><div class="form-item">
 <label>Lesebestätigung: <span class="form-required" title="Dieses Feld wird benötigt.">*</span></label>
 <div class="form-radios"><div class="form-item" id="edit-submitted-agb-lesebestatigung-br-type-moz--wrapper">
 <label class="option"><input type="radio" name="submitted[agb][lesebestatigung]" value="br_type_moz_"   class="form-radio" /> <br type="_moz" /></label>
</div>
</div>
</div>
</div></fieldset>
<input type="hidden" name="details[email_subject]" id="edit-details-email-subject" value="default"  />
<input type="hidden" name="details[email_from_name]" id="edit-details-email-from-name" value="10"  />
<input type="hidden" name="details[email_from_address]" id="edit-details-email-from-address" value="14"  />

<input type="hidden" name="form_build_id" id="form-ece640de5fd9beb6eb8c41db5b6f0f37" value="form-ece640de5fd9beb6eb8c41db5b6f0f37"  />
<input type="hidden" name="form_token" id="edit-webform-client-form-7-form-token" value="5e49f3f1bc153c2e7cf4c1796ac0459d"  />
<input type="hidden" name="form_id" id="edit-webform-client-form-7" value="webform_client_form_7"  />
<input type="submit" name="op" id="edit-submitbutton" value="Frage absenden"  class="form-submit" />

</div></form>

****************************************************************************************************

gasserol’s picture

Go the source of the problem:

The problem comes from the fckeditor or any other wysiwyg-editor in textareas (tested also with nicedit). As soon as such an editor is activated, the redirection using internal:node/x does not work anymore!
If you turn these editors of and then create a new webform the redirection works.

Any idea how to solve this?

Thanks for the excellent module webform and best regards from switzerland
gasserol

quicksketch’s picture

Category: bug » support

Check out the answers to a similar problem with webform and the select list here: http://drupal.org/node/199375

Any WYSIWYG editor will cause these problems in dozens of textfields in Drupal, you should use the methods appropriate to each editor to prevent them from affecting textareas that require plain text or PHP code.

quicksketch’s picture

Title: Redirection does not work » Redirection is broken by FCKeditor
Status: Active » Closed (duplicate)

Damn WYSIWYG editors :P